(into)
(into to)
(into to from)
(into to xform from)
Returns a new coll consisting of to-coll with all of the items of
from-coll conjoined. A transducer may be supplied.
Source
(defn
into
"Returns a new coll consisting of to-coll with all of the items of\n from-coll conjoined. A transducer may be supplied."
([] [])
([to] to)
([to from]
(if-not
(nil? to)
(if
(implements? IEditableCollection to)
(-with-meta
(persistent! (reduce -conj! (transient to) from))
(meta to))
(reduce -conj to from))
(reduce conj () from)))
([to xform from]
(if
(implements? IEditableCollection to)
(-with-meta
(persistent! (transduce xform conj! (transient to) from))
(meta to))
(transduce xform conj to from))))