Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Pandora.Pattern.Object.Semigroup
Documentation
class Semigroup a where Source #
When providing a new instance, you should ensure it satisfies the one law: * Associativity: x + (y + z) ≡ (x + y) + z
pandora-0.3.0: A box of patterns and paradigms
Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Pandora.Pattern.Object.Semigroup
class Semigroup a where Source #
When providing a new instance, you should ensure it satisfies the one law: * Associativity: x + (y + z) ≡ (x + y) + z