bitvec- Unboxed vectors of bits / dense IntSets

Safe HaskellTrustworthy



data Bit Source


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