→ Clojure/core — Reducers – A Library and Model for Collection Processing

We now have a new super-generalized and minimal abstraction for collections – a collection is some set of things that, when given a function to apply to its contents, can do so and give you the result, i.e. a collection is (at minimum) reducible. In other words, you can call reduce on it.

via Clojure/core — Reducers – A Library and Model for Collection Processing.

Leave a Reply