Created
July 6, 2017 21:08
-
-
Save barbeque/cce99033d76b60c6b9376cc8e699bb9a to your computer and use it in GitHub Desktop.
Racket Hashtable cheat sheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> (define myhash #hasheq((name . "bob"))) | |
> (hash-has-key? myhash `name) | |
#t | |
> (hash-ref myhash `name) | |
"bob" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment