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

GLS's clarifications list (moderately long)



   + (-: 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.