(remove pred)
(remove pred coll)
Returns a lazy sequence of the items in coll for which
(pred item) returns false. pred must be free of side-effects.
Returns a transducer when no collection is provided.
Source
(defn
remove
"Returns a lazy sequence of the items in coll for which\n (pred item) returns false. pred must be free of side-effects.\n Returns a transducer when no collection is provided."
([pred] (filter (complement pred)))
([pred coll] (filter (complement pred) coll)))