ideas-1.5: Feedback services for intelligent tutoring systems

Maintainerbastiaan.heeren@ou.nl
Stabilityprovisional
Portabilityportable (depends on ghc)
Safe HaskellNone
LanguageHaskell98

Ideas.Common.Algebra.GroupLaws

Contents

Description

 

Synopsis

Monoid laws

idempotent :: Monoid a => Law a Source

Not all monoids are idempotent (see: idempotentFor)

Group laws

Abelian group laws

Laws for monoids with a zero element

Generalized laws

associativeFor :: (a -> a -> a) -> Law a Source

commutativeFor :: (a -> a -> a) -> Law a Source

idempotentFor :: (a -> a -> a) -> Law a Source

leftDistributiveFor :: (a -> a -> a) -> (a -> a -> a) -> Law a Source

rightDistributiveFor :: (a -> a -> a) -> (a -> a -> a) -> Law a Source