Created
February 4, 2011 12:28
-
-
Save ponzao/811056 to your computer and use it in GitHub Desktop.
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
(def person {:name "Vesa Marttila" | |
:address {:street "Pursimiehenkatu 21"}}) | |
(update-in person | |
[:address] | |
merge {:postal-code "00150" :city "Helsinki"}) | |
; -> {:name "Vesa Marttila", :address {:city "Helsinki", :postal-code "00150", :street "Pursimiehenkatu 13"}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment