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

PrimitiveExtras.Types

Synopsis

Documentation

newtype PrimMultiArray a Source #

Instances

Instances details
(Eq a, Prim a) => Eq (PrimMultiArray a) Source # 
Instance details

Defined in PrimitiveExtras.PrimMultiArray

(Show a, Prim a) => Show (PrimMultiArray a) Source # 
Instance details

Defined in PrimitiveExtras.PrimMultiArray

data By6Bits e Source #

An immutable space-efficient sparse array, which can only store not more than 64 elements.

Constructors

By6Bits !Bitmap !(SmallArray e) 

Instances

Instances details
Foldable By6Bits Source # 
Instance details

Defined in PrimitiveExtras.By6Bits

Methods

fold :: Monoid m => By6Bits m -> m Source #

foldMap :: Monoid m => (a -> m) -> By6Bits a -> m Source #

foldMap' :: Monoid m => (a -> m) -> By6Bits a -> m Source #

foldr :: (a -> b -> b) -> b -> By6Bits a -> b Source #

foldr' :: (a -> b -> b) -> b -> By6Bits a -> b Source #

foldl :: (b -> a -> b) -> b -> By6Bits a -> b Source #

foldl' :: (b -> a -> b) -> b -> By6Bits a -> b Source #

foldr1 :: (a -> a -> a) -> By6Bits a -> a Source #

foldl1 :: (a -> a -> a) -> By6Bits a -> a Source #

toList :: By6Bits a -> [a] Source #

null :: By6Bits a -> Bool Source #

length :: By6Bits a -> Int Source #

elem :: Eq a => a -> By6Bits a -> Bool Source #

maximum :: Ord a => By6Bits a -> a Source #

minimum :: Ord a => By6Bits a -> a Source #

sum :: Num a => By6Bits a -> a Source #

product :: Num a => By6Bits a -> a Source #

Eq a => Eq (By6Bits a) Source # 
Instance details

Defined in PrimitiveExtras.By6Bits

Methods

(==) :: By6Bits a -> By6Bits a -> Bool Source #

(/=) :: By6Bits a -> By6Bits a -> Bool Source #

Show a => Show (By6Bits a) Source # 
Instance details

Defined in PrimitiveExtras.By6Bits

newtype Bitmap Source #

A word-size set of ints.

Constructors

Bitmap Int64 

Instances

Instances details
Eq Bitmap Source # 
Instance details

Defined in PrimitiveExtras.Bitmap