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.93+ | Last modified: 2018-02-19 |