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
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))
2 matches
Mail list logo