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

call-next-method is not a function

    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.