[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setf generic functions
- To: Kerry Kimbrough <Kimbrough@dsg.csc.ti.com>
- Subject: Re: setf generic functions
- From: Warren Harris <harris%hplwhh@hplabs.hp.com>
- Date: Fri, 11 Nov 88 09:23:22 PST
- Cc: CommonLoops.PA@Xerox.COM
- In-reply-to: Your message of "Thu, 10 Nov 88 18:07:36 CST." <2804198856-3550037@Sierra>
- Redistributed: CommonLoops.PA
Since you can say:
(defsetf foo (c &key x y) (new-value) ...)
in CL, I think the following would make more sense in CLOS:
(DEFMETHOD (SETF foo) (new-value (c a-class) :key x y)
...)
(SETF (foo object :x 5) value)
^^^^^
I believe this works in AAAI PCL.
Warren