Last active
April 11, 2017 20:27
-
-
Save krakatoa/00a3bf3e7e4e40a9689b30c3f6b15a20 to your computer and use it in GitHub Desktop.
Map destructuring
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
(let [{:keys [test count]} {:count 3 :test 1}] (println test)) | |
clj-datascript.core=> (let [[_ v] [:key :value]] (println v)) | |
:value | |
nil | |
https://clojuredocs.org/clojure.core/let#example-542692d3c026201cdc326ff3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment