Portability | non-portable (type families, MPTCs) |
---|---|
Stability | experimental |
Maintainer | ekmett@gmail.com |
Utilities for working with Monoids that conflict with names from the Prelude, Data.Foldable, Control.Monad or elsewhere. Intended to be imported qualified.
import Data.Monoid.Combinators as Monoid
List-Like Monoid Production
repeat :: Reducer e m => e -> mSource
A generalization of Data.List.repeat
to an arbitrary Monoid
. May fail to terminate for some values in some monoids.