primitive-extras-0.10.1.6: Extras for the "primitive" library
Safe HaskellSafe-Inferred
LanguageHaskell2010

PrimitiveExtras.Bitmap

Synopsis

Documentation

newtype Bitmap Source #

A word-size set of ints.

Constructors

Bitmap Int64 

Instances

Instances details
Eq Bitmap Source # 
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 #