Returns the discriminating function.
clos
compute-discriminating-function gf => result
gf⇩ |
A generic function. |
result |
A function. |
The generic function compute-discriminating-function
returns the discriminator of gf as specified in AMOP.
However, there are two discrepancies with the AMOP behavior:
compute-applicable-methods-using-classes
, since this is not implemented.compute-discriminating-function
. Instead, it is called when the generic function is called. This is more efficient than calling compute-discriminating-function
each time add-method is called.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:25