[racket] How to handle #??? from #%declare
That should have been an error instead of a successful expansion. I've
pushed a repair.
At Sat, 1 Mar 2014 12:25:48 -0500, Asumu Takikawa wrote:
> Hi all,
>
> I have a question about the recently added #%declare form for modules.
> Here's an example expansion for context:
>
> -> (syntax->datum (expand #'(module a racket (#%declare "something"))))
> '(module a racket
> (#%module-begin
> (module configure-runtime '#%kernel
> (#%module-begin (#%require racket/runtime-config) (#%app configure
> '#f)))
> #???))
>
> It appears that an invalid(?) #%declare form gets expanded to a #???.
> This object is apparently not a symbol, so is there any sensible way to
> handle one of these in a macro that inspects a whole module?
>
> Cheers,
> Asumu
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users