[plt-scheme] top-level?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Aug 26 08:30:08 EDT 2005

At Fri, 26 Aug 2005 14:21:45 +0200, "jos koot" wrote:
> I look for a simple way for a syntax to see whether or not it is used at 
> top-level?

A macro transformer can call `syntax-local-context' to detect whether
the current expansion is for a use in the top level, in a module
top-level, in a local-definition context, or in an expression context.


Posted on the users mailing list.