hw-rankselect-base-0.3.4.1: Rank-select base

Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.RankSelect.Base.Select

Contents

Synopsis

Rank & Select

class Eq a => Select v a where Source #

Methods

select Source #

Arguments

:: a

The symbol

-> v

The bitstring

-> Count

The number of occurences

-> Count 

Find length of the shortest prefix of the given prefix that contains specified number of occurences of the given symbol

Instances
Select [Bool] Bool Source # 
Instance details

Defined in HaskellWorks.Data.RankSelect.Base.Select

Methods

select :: Bool -> [Bool] -> Count -> Count Source #