Safe Haskell | Safe |
---|---|
Language | Haskell98 |
- class (Monoidal r, Semiring r) => ZeroProductSemiring r
Documentation
class (Monoidal r, Semiring r) => ZeroProductSemiring r Source #
A zero-product semiring has no zero divisors
a * b = 0 implies a == 0 || b == 0