X-Git-Url: https://git.hcoop.net/clinton/lisp-on-lines.git/blobdiff_plain/15bc66bdec222f512812a9db7e0789bb45b20fb3..8c6914bd27843fc74d07da3965fafaac09c85c4e:/src/mewa.lisp diff --git a/src/mewa.lisp b/src/mewa.lisp index fcfead4..1dea1fe 100644 --- a/src/mewa.lisp +++ b/src/mewa.lisp @@ -1,5 +1,7 @@ +(declaim (optimize (speed 2) (space 3) (safety 0))) + (in-package :lisp-on-lines) - + (defparameter *default-type* :ucw) ;;;; I think these are unused now @@ -55,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)))))