coleslaw/static/indices.lisp
2011-04-17 17:48:38 -04:00

13 lines
258 B
Common Lisp

(in-package :coleslaw)
(defmethod find-index (id)
(gethash id (gethash :indices *storage*)))
(defmethod add-index (index id)
(setf (find-index id) index))
(defmethod remove-index (id)
(setf (find-index id) nil))
(defmethod render-index (index)
)