Re: changing a symbol name

From: Christophe Turle (cturle_at_nospam.com)
Date: 10/16/04


Date: Sat, 16 Oct 2004 10:59:36 +0200


"Thomas A. Russ" <tar@sevak.isi.edu> a écrit dans le message de
news:ymid5zjaosp.fsf@sevak.isi.edu...
> "Christophe Turle" <cturle@nospam.com> writes:
>
> > If someone has put the symbol name in a hashtable, it is bad design. The
key
> > should have been the symbol not its representation.
>
> But how do you get a reference to a symbol? How do you find the symbol
> to use as the key to your hash table? The reader does this by knowing
> how to map a name to a particular symbol, and if you go about changing
> this name, then massive confusion results.

third time :) 'someone' is for 'users'. I know there is the read hashtable.
But i think it is the only one.

> Either you have the same name mapping to different symbols,

No.

> or you have
> different names mapping to the same symbol, or perhaps even both.

Yes. And perhaps it's cool : no more need for abbrev macros for example...

___________________________________________________________
Christophe Turle.
(format nil "~S@~S.~S" 'c.turle 'wanadoo 'fr)

sava preview : http://perso.wanadoo.fr/turle/lisp/sava.html



Relevant Pages