Skip to content

Instantly share code, notes, and snippets.

@zkat
Last active August 29, 2015 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zkat/5343 to your computer and use it in GitHub Desktop.
Save zkat/5343 to your computer and use it in GitHub Desktop.
SYKOSOMATIC> (setf *test-hash* (make-hash-table))
#<HASH-TABLE :TEST EQL :COUNT 0 {AB4EF51}>
SYKOSOMATIC> (setf (gethash "testing" *test-hash*) "testing")
"testing"
SYKOSOMATIC> *test-hash*
#<HASH-TABLE :TEST EQL :COUNT 1 {AB4EF51}>
SYKOSOMATIC> (gethash (string-downcase "TESTING") *test-hash*)
NIL
NIL
SYKOSOMATIC> (gethash "testing" *test-hash*)
NIL
NIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment