Safe Haskell | None |
---|---|
Language | Haskell2010 |
Vector intended for densily filled entries close to 0, > 0. In situ updates are not supposed to happen often.
Documentation
VecAlloc e
Instances
Show e => Show (VecAlloc e) Source # | |
Lookup (VecAlloc e) Int e Source # | |
Defined in CHR.Data.Lookup.Instances lookup :: Int -> VecAlloc e -> Maybe e Source # fromList :: [(Int, e)] -> VecAlloc e Source # toList :: VecAlloc e -> [(Int, e)] Source # null :: VecAlloc e -> Bool Source # size :: VecAlloc e -> Int Source # alter :: (Maybe e -> Maybe e) -> Int -> VecAlloc e -> VecAlloc e Source # singleton :: Int -> e -> VecAlloc e Source # insertWith :: (e -> e -> e) -> Int -> e -> VecAlloc e -> VecAlloc e Source # insert :: Int -> e -> VecAlloc e -> VecAlloc e Source # unionWith :: (e -> e -> e) -> VecAlloc e -> VecAlloc e -> VecAlloc e Source # union :: VecAlloc e -> VecAlloc e -> VecAlloc e Source # unionsWith :: (e -> e -> e) -> [VecAlloc e] -> VecAlloc e Source # unions :: [VecAlloc e] -> VecAlloc e Source # delete :: Int -> VecAlloc e -> VecAlloc e Source # keys :: VecAlloc e -> [Int] Source # keysSet :: VecAlloc e -> Set Int Source # |