(defun new-heap (heap-id &optional (capacity 42)) (or (gethash heap-id heaps) (setf (gethash heap-id heaps) (list \'heap heap-id 0 (make-array capacity