[plt-scheme] Getting the expansion location

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue May 13 11:23:30 EDT 2003

At Tue, 13 May 2003 08:17:31 -0700 (PDT), Noel Welsh wrote:
> I was grubbing around in
> contract.ss (I like the 'heading' font, Robby ;-) and
> saw a function to turn syntax into strings
> (build-src-loc-string/unk) which I think is called as
> part of the macro expansion.  Is this a viable
> alternative to capturing a syntax object, 

Yes.

> or does this
> constiture a 3-D value and is to be avoided?

No. The string becomes a constant as it's turned into syntax, but
that's appropriate in this case.

Matthew



Posted on the users mailing list.