[plt-scheme] transforming?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sun May 16 09:37:32 EDT 2004

At Sat, 8 May 2004 15:45:11 -0400, Doug Orleans wrote:
> Some procedures only work during a syntax transformation
> (e.g. `syntax-local-value' and `local-expand') and raise an exception
> if they're called otherwise:
> 
> > (syntax-local-value #'foo)
> syntax-local-value: not currently transforming
> 
> Is there a way to tell if you're currently transforming, other than
> catching the exception?

Now, but there should be. I'll add a predicate for v299.

Matthew



Posted on the users mailing list.