Re: [racket] require/provide inside a macro

2011-11-18 Thread Matthew Flatt
Yes, that's a bug. I'll push a repair. At Fri, 18 Nov 2011 15:22:40 -0700, Jon Rafkind wrote: > require and provide seem to exhibit strange behavior when used inside a > macro. > Here, the `all-prefix' macro works (because of the 'prefix-in' somehow) while > the `all' macro doesn't. > > #lang

[racket] require/provide inside a macro

2011-11-18 Thread Jon Rafkind
require and provide seem to exhibit strange behavior when used inside a macro. Here, the `all-prefix' macro works (because of the 'prefix-in' somehow) while the `all' macro doesn't. #lang racket/base (define-syntax-rule (all-prefix) (begin (require (for-meta 1 (prefix-in x: racket/base))