Module
Data.Group
- Package
- purescript-group
- Repository
- morganthomas/purescript-group
#Group Source
#CommutativeSemigroup Source
class (Semigroup g) <= CommutativeSemigroup g
A CommutativeSemigroup
is a Semigroup
with a commutative operation.
Instances must satisfy the following law in addition to the group laws:
- Commutativity:
forall x, y. x <> y = y <> x
Instances
#Abelian Source
type Abelian a b = Group a => CommutativeSemigroup a => b
- Modules
- Data.
Group