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

Re: defmethod-setf



     Date: Tue, 12 Jan 88 19:16 PST
     From: Gregor.pa@xerox.com
     Subject: 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.
     -------

I agree with this. As a matter of fact, I thought we already got rid of
them.
Patrick.