[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
call-next-method is not a function
- To: Common-Lisp-Object-System@sail.stanford.edu
- Subject: call-next-method is not a function
- From: David A. Moon <Moon@STONY-BROOK.SCRC.Symbolics.COM>
- Date: Thu, 5 Feb 87 23:30 EST
- In-reply-to: <870205-120337-2399@Xerox>
Date: 5 Feb 87 12:05 PST
From: Masinter.pa@Xerox.COM
It is wrong to say that call-next-method "is a function", because that
terminology is used exclusively in CLtL to mean that the symbol has a
global function definition with the given interpretation.
I think that careful wording is called for.
Good point.
What would happen in the following
(defmethod test ((a wozzle)) #'call-next-method)
(defmethod caller ((a wombat) fn) (funcall fn))
(caller (make-wombat) (test (make-wozzle)))
would it call the next method of test, or the next method of caller?
Of test.