Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
PrimitiveExtras.Bitmap
Contents
Synopsis
- newtype Bitmap = Bitmap Int64
- empty :: Bitmap
- singleton :: Int -> Bitmap
- insert :: Int -> Bitmap -> Bitmap
- invert :: Int -> Bitmap -> Bitmap
- indexList :: [Int] -> Bitmap
- boolList :: [Bool] -> Bitmap
- pair :: Int -> Int -> Bitmap
- populatedIndex :: Int -> Bitmap -> Int
- isPopulated :: Int -> Bitmap -> Bool
- population :: Bitmap -> Int
- null :: Bitmap -> Bool
- bits :: Bitmap -> [Int]
- populatedIndicesList :: Bitmap -> [Int]
- int64 :: Bitmap -> Int64
- allBitsList :: [Int]
- allBitsUnfoldl :: Unfoldl Int
- populatedBitsUnfoldl :: Bitmap -> Unfoldl Int
- indicesAmongstPopulatedBitsUnfoldl :: Bitmap -> Unfoldl Int
Documentation
A word-size set of ints.
population :: Bitmap -> Int Source #
populatedIndicesList :: Bitmap -> [Int] Source #
allBitsList :: [Int] Source #