Returns a new coll consisting of to-coll with all of the items of
from-coll conjoined.
(defn test-key-inclusion-cols
"return all values in column1 that arent' in column2"
[column1 column2]
(filter (complement (into #{} column2)) column1))
(defn into
"Returns a new coll consisting of to-coll with all of the items of
from-coll conjoined."
{:added "1.0"
:static true}
[to from]
(if (instance? clojure.lang.IEditableCollection to)
(persistent! (reduce conj! (transient to) from))
(reduce conj to from)))
Comments top
No comments for into. Log in to add a comment.