Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class Additive a where
Documentation
Represent class of things that can be added together, contains a neutral element and is commutative.
x + azero = x azero + x = x x + y = y + x
Safe Haskell | None |
---|---|
Language | Haskell2010 |
Represent class of things that can be added together, contains a neutral element and is commutative.
x + azero = x azero + x = x x + y = y + x