Re: [racket] submodule/local-require question

2013-07-14 Thread Matthew Flatt
I had tried only from `racket', but I see the same result as you in DrRacket or with `errortrace'. I'll have to investigate further. At Sun, 14 Jul 2013 17:06:04 -0600, Christopher wrote: > The code you gave doesn't seem to work either. After saving your code in a > file named test-n.rkt, and r

Re: [racket] submodule/local-require question

2013-07-14 Thread Christopher
The code you gave doesn't seem to work either. After saving your code in a file named test-n.rkt, and running it, I get the following error: Welcome to DrRacket, version 5.3.4 [3m]. Language: racket; memory limit: 256 MB. . . ../../../../Applications/Racket v5.3.4/collects/errortrace/errortrace

Re: [racket] submodule/local-require question

2013-07-14 Thread Matthew Flatt
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 lon