Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
(defn assoc-in*
"God forgive me."
[m ks v]
(let [k (first ks)]
(if (> (count ks) 0)
(assoc m k (assoc-in* (get m k) (rest ks) v))
(assoc m k v))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.