Returns a new collection in which the values corresponding to the
given keys are updated by the given values. Each type of collection
can have specific restrictions on the possible keys.
(defmulti assoc
"Returns a new collection in which the values corresponding to the
given keys are updated by the given values. Each type of collection
can have specific restrictions on the possible keys."
{:arglists '([coll & key-val-pairs])}
(fn [coll & items] (type coll)))
Comments top
No comments for assoc. Log in to add a comment.