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

reduce

  • (reduce f coll)
  • (reduce f init coll)
Like core/reduce except:
   When init is not provided, (f) is used.
   Maps are reduced with reduce-kv