If you “visibly modify” a key, consequences are unpredictable:
(LET
((hash-table
(MAKE-HASH-TABLE
:test 'EQUALP
))) (SETF
(GETHASH
hash-table
hash-table
)T
) (GETHASH
hash-table
hash-table
)) ⇒; ⇒
NIL
NIL
because (
modifies SETF
GETHASH
)hash-table
, the very next
GETHASH
does not find it in itself.
These notes document CLISP version 2.49 | Last modified: 2010-07-07 |