(Foldable t, Monoid m) => Monoid -> (a -> m) -> t a -> m
The first argument is a class of the values inside the foldable structure. It must be given explicitly so empty structures can be handled without errors.
Table of contents: