[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GLS's clarifications list (moderately long)
- To: COMMON-LISP@SU-AI.ARPA
- Subject: GLS's clarifications list (moderately long)
- From: Christopher Fry <cfry@OZ.AI.MIT.EDU>
- Date: Fri, 27 Dec 85 06:21 EST
- In-reply-to: <8512200453.AA03243@uw-beaver.arpa>
+ (-: The obvious way to have an all-purpose undo function is to generalize setf
to work with an odd number of arguments:
(setf (symbol-function 'foo)) => (undefun 'foo)
(setf (symbol-value '*foov*)) => (mkunbound '*foov*) :-)
Not obvious to me, even if there's only one argument.
The overloading of the semantics of setf is clever ...
which is exactly why I'd prefer the function that does
the undo semantics to be spelled differently than "setf" .
To me (setf (accessor ...)) implies setting the thing to NIL,
but I wouldn't want setf to have that semantics either.