protolude-0.1.10: A sensible set of defaults for writing custom Preludes.

Safe HaskellSafe
LanguageHaskell2010

Semiring

Synopsis

Documentation

class Monoid m => Semiring m where Source #

Minimal complete definition

one, (<.>)

Methods

one :: m Source #

(<.>) :: m -> m -> m Source #

zero :: Monoid m => m Source #

Alias for mempty