protolude-0.2.2: A small prelude.

Safe HaskellSafe
LanguageHaskell2010

Protolude.Semiring

Synopsis

Documentation

class Monoid m => Semiring m where #

Minimal complete definition

one, (<.>)

Methods

one :: m #

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

zero :: Monoid m => m #

Alias for mempty