wiki:FunctionalProgramming/Foldable

Foldable

Foldable abstracts out a traversing (visiting all the elements in order) of a data-structure

foldr :: (a -> b -> b) -> b -> t a -> b
foldl :: (b -> a -> b) -> b -> t a -> b
Last modified 3 years ago Last modified on Apr 4, 2018, 1:11:40 PM
Note: See TracWiki for help on using the wiki.