Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class BitLength v where
- bitLength :: v -> Count
- endPosition :: v -> Position
- elemBitLength :: (AtIndex v, BitLength (Elem v)) => v -> Count
- elemBitEnd :: (AtIndex v, BitLength (Elem v)) => v -> Position
Bit map
class BitLength v where Source #
bitLength :: v -> Count Source #
Number of bits in a value including ones and zeros.
endPosition :: v -> Position Source #
Number of bits in a value including ones and zeros as a position.