| function | since v0.0-1211 | Edit |
(conj!)(conj! tcoll)(conj! tcoll val)(conj! tcoll val & vals)Adds val to the transient collection, and return tcoll. The 'addition' may happen at different 'places' depending on the concrete type.
(defn conj!
([] (transient []))
([tcoll] tcoll)
([tcoll val]
(-conj! tcoll val))
([tcoll val & vals]
(let [ntcoll (-conj! tcoll val)]
(if vals
(recur ntcoll (first vals) (next vals))
ntcoll))))