At Sun, 14 Jul 2013 12:50:32 -0600, Christopher wrote:
> #lang racket
> 
> (module A racket
>   (provide x)
>   (define x #t) )
> 
> (let []
>   (local-require 'A)
>   x )

The '-based shorthand for submodules only works in certain situations. 
(Generalizing that has been on my to-do list for a long time.)

For now, you have to use the longer `(submod "." A)' form:

 #lang racket

 (module A racket
   (provide x)
   (define x #t))

 (let []
   (local-require (submod "." A))
   x)

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

Reply via email to