Hello,
Currently assoc-in does not support multiple key-value pairs the way
assoc does.
user=> (assoc {} :a 1 :b 2)
{:b 2, :a 1}
user=> (assoc-in {} [:a :b] 1 [:c :d] 2)
ArityException Wrong number of args (5) passed to: core$assoc-in
clojure.lang.AFn.throwArity (AFn.java:437)
It appears a patch for this has been ready for more than a year:
http://dev.clojure.org/jira/browse/CLJ-1771
Can we expect this to work soon?
--
Łukasz Kożuchowski
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.