Subject: Re: simple swap func
From: Erik Naggum <erik@naggum.no>
Date: 1997/04/18
Newsgroups: comp.lang.lisp
Message-ID: <3070392636700635@naggum.no>


* Dorai Sitaram
| Shouldn't we be using ``gentemp'' rather than ``gensym'' in macro
| definitions, so that we don't unnecessarily deprive macro-expansions of
| read-write invariance?

I prefer `make-symbol'.  I also bind *print-circle* to t, even though it
costs more when printing.  e.g.,

    (let ((x (make-symbol "x")))
      `(list ,x ,x))
 => (list #1=#:x #1#)

(this also works in GNU Emacs Lisp from the next version onward.)

#\Erik
-- 
I'm no longer young enough to know everything.