№1
Доступ и изменение элементов хэш-таблицы
(defparameter *my-hash* (make-hash-table))
; *MY-HASH*
(setf (gethash 'one-entry *my-hash*) "one")
; "one"
(setf (gethash 'another-entry *my-hash*) 2/4)
; 1/2
(gethash 'one-entry *my-hash*)
; "one"
; T
(gethash 'another-entry *my-hash*)
; 1/2
; T
Источник:
cl-cookbook.sourceforge.net
cl-cookbook.sourceforge.net