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

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Mon Jun 1 07:36:51 EDT 2009

Probably you wanted (require (for-template scheme/base)) to avoid the
#%app problem.

On Sun, May 31, 2009 at 10:43 PM, Anthony Cowley <acowley at seas.upenn.edu> wrote:
> 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
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>


Posted on the users mailing list.