monoids-0.1.36: Monoids, specialized containers and a general map/reduce frameworkSource codeContentsIndex
Data.Ring.Boolean
Portabilitynon-portable (MPTCs)
Stabilityexperimental
Maintainerekmett@gmail.com
Description

A Boolean Ring over any Bits instance. Note well that the mappend of this ring is xor. You should use use Ord from Data.Ring.Semi.Ord.Order on Bool to get the '&&'/'||'-based distributive-lattice SemiRing.

Also note that gnegate = id in a Boolean Ring!

Documentation
module Data.Ring
newtype Boolean a Source
Constructors
Boolean
getBoolean :: a
show/hide Instances
Produced by Haddock version 2.4.2