Created
September 23, 2017 20:09
-
-
Save sundarj/3077e35975a98a41a53ff465225d85ee 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
boot.user=> (let [{:keys [x]} {:x 3, :y 9}] x) | |
3 | |
boot.user=> (let [{:keys [x]} {:y 9}] x) | |
nil | |
boot.user=> (let [{:keys [x] :or {x 4}} {:y 9}] x) | |
4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment