concept reduction in category clojure

appears as: reductions, reduction, reduction
Clojure: The Essential Reference

This is an excerpt from Manning's book Clojure: The Essential Reference.

reductions helps visualizing the reduce process. It has the same interface as reduce but it also outputs all the intermediate results:

(reductions + (map #(* % %) (range 5)))
;; (0 1 5 14 30)

The output of reductions above is the result of the following steps: