primitive-extras-0.6: Extras for the "primitive" library

Safe HaskellNone
LanguageHaskell2010

PrimitiveExtras.Bitmap

Contents

Synopsis

Documentation

data Bitmap Source #

A word-size set of ints.

Instances
Eq Bitmap # 
Instance details

Defined in PrimitiveExtras.Bitmap

Methods

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

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

populatedIndex :: Int -> Bitmap -> Int Source #

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

Orphan instances

Eq Bitmap Source # 
Instance details

Methods

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

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