Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class Monoid a => Group a where Source #
When providing a new instance, you should ensure it satisfies: * Right absorption: x + invert x ≡ zero * Left absorption: invert x + x ≡ zero
Instances
Group a => Group (Identity a) Source # | |
(Group s, Group a) => Group (s :*: a) Source # | |
Group a => Group (Vector a a) Source # | |
(Group a, Group r, Group (a :*: r), Group (Vector r a)) => Group (Vector (a :*: r) a) Source # | |
Group a => Group (Constant a b) Source # | |
Group a => Group (Tagged tag a) Source # | |