Back

reducer (clj)

(source)

function

(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.

Examples