Returns a new coll consisting of to-coll with all of the items of
from-coll conjoined.
; Adds a list to beginning of another. Note that elements of list are added in reverse since each is processed sequentially. (into '(1 2 3) '(4 5 6)) => (6 5 4 1 2 3)
; Adds a list into an empty list. Because of the sequential processing, this also essentially produces a reversed version of the original list. (into () '(1 2 3 4)) => (4 3 2 1)
(defmulti into
"Returns a new coll consisting of to-coll with all of the items of
from-coll conjoined."
{:arglists '([to from])}
(fn [to from] (type to)))
Comments top
No comments for into. Log in to add a comment.