Method Definition
define-method (syntax)
add-method! target method(generic)
define-method invokes the add-method! generic function to handle adding the new method to a variety of possible targets. GOOPS includes methods to handle target as
- a generic function (the most common case)
- a procedure
- a primitive generic (see Extending Primitives)
By defining further methods for add-method!, you can theoretically handle adding methods to further types of target.