@hackage monus0.2.0.0

a 'Monus' is a commutative monoid that allows a notion of substraction.

  • Installation

  • Dependencies (2)

  • Dependents (0)

A Monus is a commutative monoid that allows a notion of substraction, with the following laws:

x <> (y - x) = y <> (x - y)

(x - y) - z = x - (y <> z)

x - x = mempty

mempty - x = mempty