[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Plan Comments
Moon writes about (setf find-method)
``Right or wrong depending on how your step 8 is disambiguated. My
understanding is that (setf find-method) calls add-method if its first
argument is a method and calls remove-method if its first argument is nil,
and that both add-method and remove-method remain in chapter 2.''
That is what I meant, so step eight is:
8. get-method => find-method.
(setf (find-method ...) ...) works. Remove-method remains.
(setf (find-method ...) <method>) calls add-method
(setf (find-method ...) nil) calls remove-method
Add-method and remove-method remain in CLOS.