A clj snippet #2
Today's snippet is taken from the plumbing library, a clojure utility library. The same function (logicwise) can also be found in other libraries.
This function should actually be in
clojure.core. At least a couple of times I found myself wanting to dissoc something nested deeply in a re-frame db. While writing this post, I actually realized that there is an effort to bring it to the core library, but looking at the last time somebody touched that file, one wonders if that is going to happen.
Edit: I actually realized that the Why Not A Function series already covered
dissoc-in, so I should better check what has already been discussed elsewhere.