Created
October 18, 2021 17:24
-
-
Save brettrowberry/4b1f394d1d3e161eb832f9a7fc7fbeed to your computer and use it in GitHub Desktop.
This file contains hidden or 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
;; These are equivalent expressions showing how to attempt to access a value: | |
(get {:a \a} :a) | |
({:a \a} :a) | |
(:a {:a \a}) | |
;; These are equivalent ways of trying and supplying a default value: | |
(get {:a \a} :b \b) | |
({:a \a} :b \b) | |
(:b {:a \a} \b) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment