protolude-0.2.2: A small prelude.
Protolude.Semiring
Synopsis
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
mempty