class Monoid m => Group m
A Group is a Monoid plus a function, invert, such that:
a <> invert a == mempty
invert a <> a == mempty
invert :: m -> m
(~~) :: m -> m -> m
Group subtraction: x ~~ y == x <> invert y
pow :: Integral x => m -> x -> m
pow a n == a <> a <> ... <> a
(n lots of a)
If n is negative, the result is inverted.