[plt-scheme] define-for-syntax mutual recursion

From: Anthony Cowley (acowley at seas.upenn.edu)
Date: Sun May 31 23:43:24 EDT 2009

On Sun, May 31, 2009 at 11:37 PM, Chongkai Zhu<czhu at cs.utah.edu> wrote:
> The long answer: define them in a separate module using `define', and then
> require that module via (require (for-syntax ...))

Right, I'd like to avoid this for the sake of code organization and
because when I quickly tried it, my previously working code started
giving me an "unbound identifier (and no #%app syntax transformer is
bound) in: lambda" which further motivated me to try to keep related
syntax mungers together.

Anthony


Posted on the users mailing list.