Public Vars

Back

assoc! (clj)

(source)

function

(assoc! coll key val) (assoc! coll key val & kvs)
When applied to a transient map, adds mapping of key(s) to val(s). When applied to a transient vector, sets the val at index. Note - index must be <= (count vector). Returns coll.

Examples