guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unsafe psyntax label generation


From: Andy Wingo
Subject: Re: Unsafe psyntax label generation
Date: Wed, 25 Jan 2012 15:27:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

On Wed 25 Jan 2012 14:21, address@hidden (Ludovic Courtès) writes:

> Mark H Weaver <address@hidden> skribis:
>
>> How would you like to fix this?  Would you like me to make a new
>> procedure that creates a universally-unique string?  Most of `gensym's
>> current code would be moved to that new procedure, and then `gensym'
>> would use it.
>
> Would (symbol->string (gensym)) work?

That would work, yes.  (Incidentally it's what we were doing before.)
The only disadvantage is that it goes through the symbol table, whereas
before this was unnecessary.  But that's Just An Optimization ;-)

Andy
-- 
http://wingolog.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]