hsdev-0.1.5.2: Haskell development library and tool with support of autocompletion, symbol info, go to declaration, find references etc.
Data.Group
Synopsis
class Eq a => Group a where Source
Group is monoid with invertibility But for our purposes we prefer two functions: add and sub.
add
sub
Methods
add :: a -> a -> a Source
sub :: a -> a -> a Source
zero :: a Source
Instances
groupSum :: Group a => [a] -> a Source
Sums list