[racket] (Maybe) misleading error message
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120220/bbace4d1/attachment.html>