Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class Semigroup a => Ringoid a where Source #
When providing a new instance, you should ensure it satisfies the two laws: * Left distributivity: x <> (y >< z) ≡ x <> y >< x <> z * Right distributivity: (y >< z) <> x ≡ y <> x >< z <> x