[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fixing our problems with setf
- To: Moon@STONY-BROOK.SCRC.Symbolics.COM
- Subject: Re: fixing our problems with setf
- From: Danny Bobrow <Bobrow.pa@Xerox.COM>
- Date: 28 Sep 87 14:18 PDT
- Cc: Common-Lisp-Object-System@SAIL.STANFORD.EDU
- In-reply-to: David A. Moon <Moon@STONY-BROOK.SCRC.Symbolics.COM>'s message of Mon, 28 Sep 87 16:55 EDT
- Sender: Bobrow.pa@Xerox.COM
As with regular functions, associated with any given name you
can have a setf function or a setf macro, but not both. This means
that one does not define a setf function (with defmethod or
defgeneric) and also call defsetf. The mere act of defining the
setf function is enough to tell setf what to do.
Does this mean that if I do a
(defsetf foo ...)
(defun (setf foo) ...)
then the setf macro has been undone. (I hope so). And similarly in the other direction.
danny