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

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