[plt-dev] Re: macro-stepper and expand help function defined with define-for-syntax
Chongkai Zhu wrote:
> If I put my macro in a helper function with define-for-syntax, then the
> macro stepper will not show expansion of anything inside this macro
>
> For example,
>
> (define-for-syntax (f stx)
> (syntax-case stx ()
> ((_ p ...)
> #'(begin p ...))))
> (define-syntax my-begin f)
> (my-begin (my-begin 1 2))
>
> Macro stepper with standard hiding won't show the expansion of the
> inside `my-begin', or anything I put there. Is this a bug?
There's a bug, but it doesn't have anything to do with
'define-for-syntax'. It has to do with begin-splicing in modules. I'll
look into it.
Ryan