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

call-next-method is not a function



Received: from XEROX.COM by SAIL.STANFORD.EDU with TCP; 5 Feb 87  12:23:44 PST
Received: from Cabernet.ms by ArpaGateway.ms ; 05 FEB 87 12:03:37 PST
Date: 5 Feb 87 12:05 PST
From: Masinter.pa@Xerox.COM
Subject: call-next-method is not a function
To: Common-Lisp-Object-System@sail.stanford.edu
Message-ID: <870205-120337-2399@Xerox>

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. 

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?