guile-devel
[Top][All Lists]
Advanced

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

Re: Is gentemp or gensym "safe"?


From: Rob Browning
Subject: Re: Is gentemp or gensym "safe"?
Date: 25 Apr 2001 20:33:06 -0500
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Marius Vollmer <address@hidden> writes:

> My short term plan is like this: understand how the current module
> system hand together, with itself and with symbols.c.  Beat on it
> until the-root-module and the-scm-module lose their special status.
> Clean up symbols.c so that it has nothing to do with the module
> system.  In that process, make gensym produce uninterned symbols.

So presuming I understand the difference between interned and
uninterned, and so this would fix the problem, why not just change
gensym to use (string->obarray-symbol #t "gensymname")?

That seems to DTRT:

  guile> (eq? (string->obarray-symbol #t "foo") 'foo)
  #f

-- 
Rob Browning <address@hidden> PGP=E80E0D04F521A094 532B97F5D64E3930



reply via email to

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