Safe Haskell | None |
---|
Data.Algebra.Boolean
Documentation
A class for boolean algebras. Instances of this class are expected to obey all the laws of boolean algebra.
Minimal complete definition: true
or false
, not
or <-->
, ||
or &&
.
Methods
Truth value, defined as the top of the bounded lattice
False value, defined as the bottom of the bounded lattice.
Logical negation.
Logical conjunction. (infxr 3)
Logical inclusive disjunction. (infixr 2)
Logical exclusive disjunction. (infixr 1)
Logical implication. (infixr 1)
Logical biconditional. (infixr 1)
Instances
Typeable1 Bitwise | |
Bounded a => Bounded (Bitwise a) | |
Enum a => Enum (Bitwise a) | |
Eq a => Eq (Bitwise a) | |
Integral a => Integral (Bitwise a) | |
Data a => Data (Bitwise a) | |
Num a => Num (Bitwise a) | |
Ord a => Ord (Bitwise a) | |
Read a => Read (Bitwise a) | |
Real a => Real (Bitwise a) | |
Show a => Show (Bitwise a) | |
Ix a => Ix (Bitwise a) | |
PrintfArg a => PrintfArg (Bitwise a) | |
Storable a => Storable (Bitwise a) | |
Bits a => Bits (Bitwise a) | |
Bits a => Boolean (Bitwise a) |