ClojureDocs

Nav

Namespaces

Take the 2026 State of Clojure Survey! Help shape the future of Clojure — open through Nov 30. Take Survey →
core.async
core.logic
data.csv
spec.alpha
tools.build
  • clojure
tools.deps

reducer

clojure.core.reducers

Available since 1.5 (source)
  • (reducer coll xf)
Given a reducible collection, and a transformation function xf,
returns a reducible collection, where any supplied reducing
fn will be transformed by xf. xf is a function of reducing fn to
reducing fn.