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

Re: setf generic functions



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