primitive-extras-0.10.1.10: Extras for the "primitive" library
Safe HaskellNone
LanguageHaskell2010

PrimitiveExtras.Bitmap

Synopsis

Documentation

newtype Bitmap #

A word-size set of ints.

Constructors

Bitmap Int64 

Instances

Instances details
Eq Bitmap # 
Instance details

Defined in PrimitiveExtras.Bitmap

Methods

(==) :: Bitmap -> Bitmap -> Bool #

(/=) :: Bitmap -> Bitmap -> Bool #

pair :: Int -> Int -> Bitmap #

populatedIndex :: Int -> Bitmap -> Int #

A number of non-zero bits, preceding this one.

bits :: Bitmap -> [Int] #

Orphan instances

Eq Bitmap # 
Instance details

Methods

(==) :: Bitmap -> Bitmap -> Bool #

(/=) :: Bitmap -> Bitmap -> Bool #