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

(DEFMETHOD (setf foo) ... doesn't work



In the 8/2/88 version of PCL,

(defmethod (setf foo) ....

followed by a (setf (foo ... doesn't work because no DEFSETF has been done.

In any case, it was not clear to me from the CLOS spec. what the arglist
should look like for SETF methods.  (Documentation bug ?)  Is it :
  a) (defmethod (setf foo) ((object | class) value)
or
  b) (defmethod (setf foo) (value (object | class))
??

-- jim

P.S.  Is this the appropriate list for both these questions ?