bitvec-0.1.0.1: Unboxed vectors of bits / dense IntSets

Safe HaskellTrustworthy

Data.Bit

Documentation

data Bit Source

Instances

Bounded Bit 
Enum Bit 
Eq Bit 
Integral Bit 
Num Bit

The Num instance is currently based on integers mod 2, so (+) and (-) are XOR, (*) is AND, and all the unary operations are identities. Saturating operations would also be a sensible alternative.

Ord Bit 
Read Bit 
Real Bit 
Show Bit 
Typeable Bit 
Bits Bit 
Unbox Bit 
Vector Vector Bit 
MVector MVector Bit