Fork me on GitHub

I found out that update and vector have the largest argument vector of normal defn in clojure.core (so not counting protocols, etc) (unless there's a bug in the code) They have a total of 8 arg symbols (not counting &)

Lennart Buit22:10:36

TIL: update was only added in clojure 1.7

Lennart Buit22:10:41

oh interesting, update-in existed from the get go. I would have totally expected that the other way around


update is a degenerate form of update-in


yeah i remember having to use (update-in map [key] f) before they added update