Hello,

I ran "(define my-generator (generator () (yield 1) (yield 2 3 4)))" on
DrRacket's Interactions Window, but forgot to require racket/generator
first.

The error message was:
#%app: missing procedure expression; probably originally (), which is an
illegal empty application in: (#%app)


Which makes sense.
However, wouldn't it be more helpful if it would first complain about
`generator' being undefined?


[]'s

Rodolfo Carvalho
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to