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

Re: fixing our problems with setf



    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