[plt-scheme] Issues with expand

From: Casey Klein (clklein at calpoly.edu)
Date: Wed Aug 9 16:15:04 EDT 2006

On Wed, Aug 09, 2006 at 10:18:01AM -0700, Danny Yoo wrote:

> What's happening is that, within the syntax that has been built, the 
> syntax is being enriched with lexical binding information from the 
> enclosing module.  Try using the following code to help erase that 
> information:

I notice that adding "(provide x)" to module m and "(require m)" to module
n fixes this error, so I take it that when you refer to the lexical binding
information "from the enclosing module," you mean that from module m (not n).

Thanks for the insight, Danny!

Is the same happening in my second example, in which "x" is instead defined
only inside module n (inside the syntax object)? If so, any idea why the
resulting error messages differ?


Posted on the users mailing list.