[plt-scheme] define-for-syntax, or lack thereof

From: Lauri Alanko (la at iki.fi)
Date: Fri Aug 2 12:22:16 EDT 2002

Hello.

How come there is no define-for-syntax form? When I have a syntactic
operation that is commonly used in the macros of one module, but nowhere
else, it is kind of tedious that I have to make a separate module where to
put the definitions for those operations. Would inline definitions for the
transformer environment somehow break the phase separation?

Also, why is there no begin-for-syntax? Even the paper on the module system
system uses that in code examples, and there was no mention of anything
being wrong with it. Wouldn't a dummy syntax definition do the same thing,
at (module) top level anyway?


Lauri Alanko
la at iki.fi




Posted on the users mailing list.