[plt-scheme] gensym in r6rs?

From: jmhufflen at lifc.univ-fcomte.fr (jmhufflen at lifc.univ-fcomte.fr)
Date: Fri Mar 27 09:55:11 EDT 2009

> Hello,
> gensym seems to be thrown out of r6rs. Is there a standardized
> equivalent?

(syntax->datum (generate-temporaries X))

where X is a linear list. This expression builds a list of symbols being
same lenth than X.  That's somewhat heavy, I agree, but I think, there is
no other way!


J.-M. H.

Posted on the users mailing list.