git.fiddlerwoaroof.com
Browse code

Add docstring to OBJECT-TYPE->SYM

Javier Olaechea authored on 08/11/2020 20:33:29
Showing 1 changed files
... ...
@@ -15,8 +15,11 @@
15 15
   ())
16 16
 
17 17
 (defgeneric object-type->sym (object-type)
18
-  (:method ((o-t symbol))
19
-    o-t))
18
+  (:documentation "Canonicalizes different representations of an
19
+  object type to their symbol representation."))
20
+
21
+(defmethod object-type->sym ((o-t symbol))
22
+    o-t)
20 23
 
21 24
 (defmethod object-type->sym ((object-type number))
22 25
   (ecase object-type