| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
HaskellWorks.Data.RankSelect.Poppy512
Documentation
Constructors
| Poppy512 | |
Fields
| |
Instances
Methods
Find the number of occurences of the bit 1 in the prefix of the supplied bitstring of the given length
>>>import HaskellWorks.Data.Bits.BitRead>>>:set -XTypeApplications
>>>rank1 (unsafeBitRead @Word8 "00000000") 40>>>rank1 (unsafeBitRead @Word8 "11000000") 42>>>rank1 (unsafeBitRead @Word8 "01100000") 42>>>rank1 (unsafeBitRead @Word8 "01100110") 42>>>rank1 (unsafeBitRead @Word8 "01100110") 63
Instances
| Rank1 Bool | |
| Rank1 Word8 | |
| Rank1 Word16 | |
| Rank1 Word32 | |
| Rank1 Word64 | |
| Rank1 CsPoppy Source # | |
| Rank1 CsPoppy0 Source # | |
| Rank1 CsPoppy1 Source # | |
| Rank1 BitSeq Source # | |
| Rank1 Poppy512 Source # | |
| (PopCount1 w, Rank1 w, BitSize w) => Rank1 [w] | |
Defined in HaskellWorks.Data.RankSelect.Base.Rank1 | |
| Rank1 (Vector Bit) | |
| Rank1 (Vector Bit) | |
| Rank1 a => Rank1 (BitShown a) | |
| Rank1 (Vector Word8) | |
| Rank1 (Vector Word16) | |
| Rank1 (Vector Word32) | |
| Rank1 (Vector Word64) | |
| Rank1 (Vector Word8) | |
| Rank1 (Vector Word16) | |
| Rank1 (Vector Word32) | |
| Rank1 (Vector Word64) | |