chickadee » tinyclos » make-method

make-method SPECIALIZERS PROCprocedure

Creates a new method object specialized to the list of classes in SPECIALIZERS.

(define-method (foo (x <bar>)) 123)
 <=>
(add-method foo
  (make-method
   (list <bar>)
   (lambda (call-next-method x) 123)))