jonathanfishbein1/numeric-typeclasses/2.0.0

NOTE: the latest version is 4.0.0

AbelianGroup

Abelian Group typeclass definition and its instances for basic types.

Definition

= AbelianGroup (Group a)

Explicit typeclass which implements group operations for type a when the operation is commutative.

#Instances

Construct an instance for any type which satisfies Elm's number magic constraint. Implements sum.

Construct trivial group

Construct exclusive Or

Instance for modularArithmetic