]> rhodes.io Git - specializable.git/commitdiff
Christophe Weblog Wiki Code Publications Music
fixup for make-specializer-form-using-class
authorChristophe Rhodes <csr21@cantab.net>
Thu, 22 May 2014 09:23:53 +0000 (10:23 +0100)
committerChristophe Rhodes <csr21@cantab.net>
Thu, 22 May 2014 09:23:53 +0000 (10:23 +0100)
specializers name themselves

src/pcl-patch.lisp

index e78457b267fd8c30b8742457b45641c7b299935a..2234085e58c520c9784b8831e22f99da4941afd6 100644 (file)
@@ -140,6 +140,13 @@ return three values:
          :references (list '(:ansi-cl :macro defmethod)
                            '(:ansi-cl :glossary "parameter specializer name"))))
 
+(defmethod make-specializer-form-using-class or
+    ((proto-generic-function standard-generic-function)
+     (proto-method standard-method)
+     (specializer-name specializer)
+     (environment t))
+  specializer-name)
+
 (defmethod make-specializer-form-using-class or
     ((proto-generic-function standard-generic-function)
      (proto-method standard-method)