Fork me on GitHub
#off-topic
<
2020-10-28
>
borkdude22:10:43

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 &)

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

hiredman23:10:38

update is a degenerate form of update-in

chrisblom10:10:39

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