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

defmethod-setf



A while ago, we developed a proposal for real setf functions and a
simple rule for when setf should expand into a call to them.  That
proposal was well received by the cleanup committee.  Given that
proposal, people can program like this:

(defun foo (x) (gethash x *foo*))

(defun (foo setf) (nv x) (setf (gethash x *foo*) nv))

Which is great.

I think we should get rid of defmethod-setf and defgeneric-setf.  I
think they are just superfluous and confusing.
-------