Clojure: Inverting a nested hash map

We all know and love (assoc-in a kv v)

How can we take an existing map and invert it to the assoc-in commands that would create it?

I’ve been struggling with this problem for far too long. I finally found a nice solution by Jay Fields

One Response to “Clojure: Inverting a nested hash map”

  1. Garminzaaa Says:

    works of art.

Leave a Reply