Safe Haskell | None |
---|---|
Language | Haskell98 |
- type UniqSet a = UniqFM a
- emptyUniqSet :: UniqSet a
- unitUniqSet :: Uniquable a => a -> UniqSet a
- mkUniqSet :: Uniquable a => [a] -> UniqSet a
- addOneToUniqSet :: Uniquable a => UniqSet a -> a -> UniqSet a
- addOneToUniqSet_C :: Uniquable a => (a -> a -> a) -> UniqSet a -> a -> UniqSet a
- addListToUniqSet :: Uniquable a => UniqSet a -> [a] -> UniqSet a
- delOneFromUniqSet :: Uniquable a => UniqSet a -> a -> UniqSet a
- delOneFromUniqSet_Directly :: Uniquable a => UniqSet a -> Unique -> UniqSet a
- delListFromUniqSet :: Uniquable a => UniqSet a -> [a] -> UniqSet a
- unionUniqSets :: UniqSet a -> UniqSet a -> UniqSet a
- unionManyUniqSets :: [UniqSet a] -> UniqSet a
- minusUniqSet :: UniqSet a -> UniqSet a -> UniqSet a
- intersectUniqSets :: UniqSet a -> UniqSet a -> UniqSet a
- foldUniqSet :: (a -> b -> b) -> b -> UniqSet a -> b
- mapUniqSet :: (a -> b) -> UniqSet a -> UniqSet b
- elementOfUniqSet :: Uniquable a => a -> UniqSet a -> Bool
- elemUniqSet_Directly :: Unique -> UniqSet a -> Bool
- filterUniqSet :: (a -> Bool) -> UniqSet a -> UniqSet a
- sizeUniqSet :: UniqSet a -> Int
- isEmptyUniqSet :: UniqSet a -> Bool
- lookupUniqSet :: Uniquable a => UniqSet a -> a -> Maybe a
- uniqSetToList :: UniqSet a -> [a]
- partitionUniqSet :: (a -> Bool) -> UniqSet a -> (UniqSet a, UniqSet a)
Unique set type
Manipulating these sets
unitUniqSet :: Uniquable a => a -> UniqSet aSource
addOneToUniqSet :: Uniquable a => UniqSet a -> a -> UniqSet aSource
addOneToUniqSet_C :: Uniquable a => (a -> a -> a) -> UniqSet a -> a -> UniqSet aSource
addListToUniqSet :: Uniquable a => UniqSet a -> [a] -> UniqSet aSource
delOneFromUniqSet :: Uniquable a => UniqSet a -> a -> UniqSet aSource
delListFromUniqSet :: Uniquable a => UniqSet a -> [a] -> UniqSet aSource
unionUniqSets :: UniqSet a -> UniqSet a -> UniqSet aSource
unionManyUniqSets :: [UniqSet a] -> UniqSet aSource
minusUniqSet :: UniqSet a -> UniqSet a -> UniqSet aSource
intersectUniqSets :: UniqSet a -> UniqSet a -> UniqSet aSource
foldUniqSet :: (a -> b -> b) -> b -> UniqSet a -> bSource
mapUniqSet :: (a -> b) -> UniqSet a -> UniqSet bSource
elementOfUniqSet :: Uniquable a => a -> UniqSet a -> BoolSource
elemUniqSet_Directly :: Unique -> UniqSet a -> BoolSource
filterUniqSet :: (a -> Bool) -> UniqSet a -> UniqSet aSource
sizeUniqSet :: UniqSet a -> IntSource
isEmptyUniqSet :: UniqSet a -> BoolSource
lookupUniqSet :: Uniquable a => UniqSet a -> a -> Maybe aSource
uniqSetToList :: UniqSet a -> [a]Source