On Wed, Apr 18, 2012 at 3:09 PM, Danny Yoo <d...@cs.wpi.edu> wrote:
> This no longer appears to work in 5.3:
>    #lang planet dyoo/bf
>    ,[.,]
> I'm not sure how to fix this.  Help?  I see the following error message:

Ok, bug traced.  It looks like module-declared? is being used like
this in the context of parsing a program in the bf PLaneT language:

    (module-declared? '(submod (planet dyoo/bf) reader) #t)

At this point, the standard module name resolver raises an error on
behalf of the module-declared? function.

From reading the documentation on module-declared?, I thought that it
wasn't supposed to raise exceptions when given non-existant modules.
But module-declared? raises an error when given other junk module
names.  Is it supposed to do so?  For example:

> (module-declared? 'blah #f)
(module-declared? 'blah #f)
standard-module-name-resolver: collection not found: "blah" in any of:

 === context ===

  Racket Developers list:

Reply via email to