reduce
(reduce f init coll)
(reduce f init coll) — fold f over a list or vector, starting from init: (f ... (f (f init x1) x2) ...). Example: (reduce + 0 [1 2 3]) => 6.
reduce(reduce f init coll)
(reduce f init coll) — fold f over a list or vector, starting from init: (f ... (f (f init x1) x2) ...). Example: (reduce + 0 [1 2 3]) => 6.