Combine the elements of a structure using a monoid.
Combine the elements of a structure using a monoid. *
Left-associative fold of a structure.
Left-associative fold of a structure. *
Map each element of the structure to a monoid, and combine the results.
Map each element of the structure to a monoid, and combine the results. *
Right-associative fold of a structure.
Right-associative fold of a structure. *
A variant of 'foldl' that has no base case, and thus may only be applied to non-empty structures.
A variant of 'foldl' that has no base case, and thus may only be applied to non-empty structures. *
A variant of 'foldr' that has no base case, and thus is undefined for empty structures.
A variant of 'foldr' that has no base case, and thus is undefined for empty structures. *
Data structures that can be folded. Minimal complete definition: 'foldMap' or 'foldRight'.