
Last chance! 50% off unlimited learning
Sale ends in
"MethodsList"
used for method dispatch are defined recursively
over the arguments involved.
linearizeMlist
converts an ordinary methods
list object into the linearized form.methods
:"list"
, the method
definitions.arguments
:"list"
, the
corresponding formal arguments, namely as many of the arguments
in the signature of the generic function as are active in the
relevant method table. classes
:"list"
, the
corresponding classes in the signatures. generic
:"genericFunction"
;
the generic function to which the methods correspond. linearizeMlist
does not take advantage of
the MethodDefinition
class, and therefore does more work for less
effect than it could. In particular, we may move to redefine both the
function and the class to take advantage of the stored signatures.
Don't write code depending precisely on the present form, although all
the current information will be obtainable in the future.linearizeMlist
for the computation,
and class MethodsList
for the original, recursive
form.