protolude-0.2.4: A small prelude.

Safe HaskellSafe
LanguageHaskell2010

Protolude.Semiring

Synopsis

Documentation

class Monoid m => Semiring m where Source #

Methods

one :: m Source #

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

zero :: Monoid m => m Source #

Alias for mempty