Hash table examples
> (setf ht (make-hash-table))
#<HASH-TABLE #xDD7410>
> (gethash 'color ht)
NIL
NIL
> (setf (gethash 'color ht) 'brown)
BROWN
> (gethash 'color ht)
BROWN
T
Previous slide
Next slide
Back to first slide
View graphic version