Methods are stored in generic procedures. When a generic procedure is
called, it selects a subset of its stored methods (using
method-applicable?), and arranges to invoke one or more of the
methods as necessary. The following definitions provide the means for
adding methods to and removing them from a generic procedure.
Adds method to generic-procedure. If generic-procedure already has a method with the same specializers as method, then the old method is discarded and method is used in its place.
Removes method from generic-procedure. Does nothing if generic-procedure does not contain method.
Adds methods, which must be a list of methods, to generic-procedure. Equivalent to calling
add-methodon each method in methods.