"Dale P. Smith" <[EMAIL PROTECTED]> writes:
> gentemp is being deprecated, but is still used all over the
> place. Well, it's used in expect.scm, match.scm, psyntax.pp and
> psyntax.ss. These should probably all be changed to use gensym
> instead.
Yes, thanks!
_
Martin Grabmueller <[EMAIL PROTECTED]> writes:
> The problem is that I can not imagine a way to safely create unique
> symbols, since the only functions left for creating symbols are
>
> extern SCM scm_mem2symbol (const char*, scm_sizet);
> extern SCM scm_str2symbol (const char*);
>
> which
> From: "Dale P. Smith" <[EMAIL PROTECTED]>
> Date: Wed, 16 May 2001 15:19:41 -0400
>
> BTW: gensym does not return unique symbols:
>
> guile> (gensym)
> g0
> guile> (define g1 'foo)
> guile> (gensym)
> g1
>
> Wasn't this fixed a while back? Or was that gentemp?
Well, it was noticed a while a
Greetings!
gentemp is being deprecated, but is still used all over the place. Well,
it's used in expect.scm, match.scm, psyntax.pp and psyntax.ss. These
should probably all be changed to use gensym instead.
Sorry, no patch.
BTW: gensym does not return unique symbols:
guile> (gensym)
g0
guile