hpqtypes-1.7.0.0: Haskell bindings to libpqtypes

Safe HaskellNone
LanguageHaskell2010

Data.Monoid.Utils

Synopsis

Documentation

mintercalate :: Monoid m => m -> [m] -> m Source #

Generalization of intercalate to arbitrary Monoid.

mspace :: (IsString m, Monoid m) => m Source #

Generalization of separator to arbitrary Monoid.

smappend :: (IsString m, Monoid m) => m -> m -> m Source #

Concatenate two elements with separator between them.

smconcat :: (IsString m, Monoid m) => [m] -> m Source #

Concatenate a list of elements, inserting separators between them.

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

Infix version of smappend.