clojure.core.reducers/filter

functionsince v0.0-1236 clojure.core.reducers/filterEdit
(filter pred)
(filter pred coll)

Source docstring:
Retains values in the reduction of coll for which (pred val)
  returns logical true. Foldable.
Source code @ clojurescript:src/main/cljs/clojure/core/reducers.cljs
(defcurried filter
  {}
  [pred coll]
  (folder coll
   (fn [f1]
     (rfn [f1 k]
          ([ret k v]
             (if (pred k v)
               (f1 ret k v)
               ret))))))