Higher-order functions: Difference between revisions

Content added Content deleted
Line 218:
 
-- Applies a function against an accumulator and
-- each list elmentelement (from left-to-right) to reduce it
-- to a single return value
-- Arguments: list, function, initial value of accumulator