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)
https://github.com/borkdude/grasp#find-defn-with-largest-arg-vector
They have a total of 8 arg symbols (not counting &
)
TIL: update
was only added in clojure 1.7
yeah i remember having to use (update-in map [key] f)
before they added update
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