Skip to content

Instantly share code, notes, and snippets.

@futuro
Created July 22, 2015 03:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save futuro/7efe9895226d7fb5fe9e to your computer and use it in GitHub Desktop.
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
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