Note that you can
;; from Pascal Costanza
(loop for method in (specializer-direct-methods some-class)
when (subtypep method 'standard-accessor-method)
collect (cons (accessor-method-slot-definition method)
(method-generic-function method)))
specifying a funcallable-instance-function function invalidates a historically used implementation strategy for funcallable instances. (As it turns out, the historical implementation strategy is inherently not threadsafe in a natively-threaded environment, but that's not to say that that implementation strategy is universally bad.) [Christophe Rhodes]
Note that you can also always call compute-discriminating-function if you need a current version of the discriminating function. In general, it's better to use the function itself rather than its instance-function. [Pascal Costanza]
This page is linked from: MOP
CLiki pages can be edited by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively