protolude-0.2.3: A small prelude.

Safe HaskellSafe
LanguageHaskell2010

Protolude.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