Previous: Generic Functions, Up: Introspection
Return the generic function that method belongs to. This is the value of the method metaobject's generic-function slot.
generic-function
Return a list of method's formal parameter specializers . This is the value of the method metaobject's specializers slot.
specializers
Return the procedure that implements method. This is the value of the method metaobject's procedure slot.
procedure
Return an expression that prints to show the definition of method m. (define-generic cube) (define-method (cube (n <number>)) (* n n n)) (map method-source (generic-function-methods cube)) ⇒ ((method ((n <number>)) (* n n n)))
Return an expression that prints to show the definition of method m.
(define-generic cube) (define-method (cube (n <number>)) (* n n n)) (map method-source (generic-function-methods cube)) ⇒ ((method ((n <number>)) (* n n n)))