add-method
generic-function method ⇒ generic-function
add-method
(generic-function standard-generic-function)
(method method)
generic-function—a generic function object.
method—a method object.
The generic function add-method adds a method to a generic function.
If method agrees with an existing method of generic-function on parameter specializers and qualifiers, the existing method is replaced.
The lambda list of the method function of method must be congruent with the lambda list of generic-function, or an error of type error is signaled.
If method is a method object of another generic function, an error of type error is signaled.
defmethod [Macro] , defgeneric [Macro] , find-method [Standard Generic Function] , remove-method [Standard Generic Function] , Agreement on Parameter Specializers and Qualifiers