utility-ht-0.0.14: Various small helper functions for Lists, Maybes, Tuples, Functions

Data.Monoid.HT

Synopsis

cycle :: Monoid m => m -> m Source #

Generalization of cycle to any monoid.

cycle

(<>) :: Monoid m => m -> m -> m infixr 6 Source #

Infix synonym for mappend.

mappend

when :: Monoid m => Bool -> m -> m Source #