[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Elegant rule for what to copy
- To: uw-beaver!Rem%IMSSS
- Subject: Re: Elegant rule for what to copy
- From: firstname.lastname@example.org
- Date: Fri, 20 Dec 85 10:49:08 EST
- Cc: COMMON-LISP@su-ai.arpa
Subject: Elegant rule for what to copy
Interned symbols (IDs) will be
stop points, but GENSYMs will be recursed through, with another GENSYM of
exactly the same name replacing it, and with copies of the value and plist
and function. (In that case READing it back in would accidently INTERN all
the former GENSYMs, so COPY is more "right" than PRIN1-READ.)
That's not quite right, at least if *print-gensym* has its default value of t.
Instead a gensym would be prin1'd using #: notation, and read back in as a new
gensym with the same print name but *not* with the same plist, value, or function.