Create a hash table containing ``INITAL-CONTENTS``.
(defun build-hash-table (hash-spec inital-contents) "Create a hash table containing ``INITAL-CONTENTS``." (let ((ht (apply #'make-hash-table hash-spec))) (dolist* ((key value) inital-contents) (setf (gethash key ht) value)) ht))Source Context