Created
July 22, 2015 03:08
-
-
Save futuro/7efe9895226d7fb5fe9e to your computer and use it in GitHub Desktop.
A little snippet on how to remove nested maps with dissoc-in from core.incubator
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
wikiparse.core> tstmap | |
{:front {:middletwo "m2", :middlethree "m3", :middleone :m1}, :back2 "b2", :back1 :b1} | |
wikiparse.core> (clojure.core.incubator/dissoc-in tstmap [:front :middletwo]) | |
{:front {:middlethree "m3", :middleone :m1}, :back2 "b2", :back1 :b1} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment