Back
folder (clj)
(source)function
(folder coll xf)
Given a foldable collection, and a transformation function xf,
returns a foldable collection, where any supplied reducing
fn will be transformed by xf. xf is a function of reducing fn to
reducing fn.
Examples
denno-clojure/mascarpone
(require '[clojure.core.reducers :as r])
(r/map inc [1 1 1 2])
; => #<reducers$folder$reify__6531 clojure.core.reducers$folder$reify__6531@dd4fe75>