hw-rankselect-base-0.3.4.1: Rank-select base
HaskellWorks.Data.RankSelect.Base.Rank
Contents
class Eq a => Rank v a where Source #
Methods
rank Source #
Arguments
The symbol
The bitstring
The prefix length
Find the number of occurences of the given symbol in the prefix of the supplied bitstring of the given length
Defined in HaskellWorks.Data.RankSelect.Base.Rank
rank :: Bool -> [Bool] -> Count -> Count Source #