X-Git-Url: https://git.hcoop.net/clinton/lisp-on-lines.git/blobdiff_plain/b8c8985156e0ce7de77973d5899221116dcc3c96..bf12489aa5ecb02b7be66367e0b2ec1cd9c35bae:/src/mewa.lisp diff --git a/src/mewa.lisp b/src/mewa.lisp index 203fdf3..1dea1fe 100644 --- a/src/mewa.lisp +++ b/src/mewa.lisp @@ -57,9 +57,11 @@ Attributes are the metadata used to display, validate, and otherwise manipulate (setf (attribute-map occurence) (make-hash-table))) (defgeneric find-occurence (name) + (:method (thing) + nil) (:method ((name symbol)) (find-or-create-occurence name)) - (:method (instance) + (:method ((instance standard-object)) (find-or-create-occurence (class-name (class-of instance)))))