Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class Additive a where
Documentation
class Additive a where Source #
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