Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Hoopl.Collections
Documentation
Minimal complete definition
setNull, setSize, setMember, setEmpty, setSingleton, setInsert, setDelete, setUnion, setDifference, setIntersection, setIsSubsetOf, setFold, setElems, setFromList
Methods
setMember :: ElemOf set -> set -> Bool #
setSingleton :: ElemOf set -> set #
setInsert :: ElemOf set -> set -> set #
setDelete :: ElemOf set -> set -> set #
setUnion :: set -> set -> set #
setDifference :: set -> set -> set #
setIntersection :: set -> set -> set #
setIsSubsetOf :: set -> set -> Bool #
setFold :: (ElemOf set -> b -> b) -> b -> set -> b #
setElems :: set -> [ElemOf set] #
setFromList :: [ElemOf set] -> set #
Instances
setInsertList :: IsSet set => [ElemOf set] -> set -> set #
setDeleteList :: IsSet set => [ElemOf set] -> set -> set #
Minimal complete definition
mapNull, mapSize, mapMember, mapLookup, mapFindWithDefault, mapEmpty, mapSingleton, mapInsert, mapInsertWith, mapDelete, mapUnion, mapUnionWithKey, mapDifference, mapIntersection, mapIsSubmapOf, mapMap, mapMapWithKey, mapFold, mapFoldWithKey, mapFilter, mapElems, mapKeys, mapToList, mapFromList, mapFromListWith
Methods
mapMember :: KeyOf map -> map a -> Bool #
mapLookup :: KeyOf map -> map a -> Maybe a #
mapFindWithDefault :: a -> KeyOf map -> map a -> a #
mapSingleton :: KeyOf map -> a -> map a #
mapInsert :: KeyOf map -> a -> map a -> map a #
mapInsertWith :: (a -> a -> a) -> KeyOf map -> a -> map a -> map a #
mapDelete :: KeyOf map -> map a -> map a #
mapUnion :: map a -> map a -> map a #
mapUnionWithKey :: (KeyOf map -> a -> a -> a) -> map a -> map a -> map a #
mapDifference :: map a -> map a -> map a #
mapIntersection :: map a -> map a -> map a #
mapIsSubmapOf :: Eq a => map a -> map a -> Bool #
mapMap :: (a -> b) -> map a -> map b #
mapMapWithKey :: (KeyOf map -> a -> b) -> map a -> map b #
mapFold :: (a -> b -> b) -> b -> map a -> b #
mapFoldWithKey :: (KeyOf map -> a -> b -> b) -> b -> map a -> b #
mapFilter :: (a -> Bool) -> map a -> map a #
mapKeys :: map a -> [KeyOf map] #
mapToList :: map a -> [(KeyOf map, a)] #
mapFromList :: [(KeyOf map, a)] -> map a #
mapFromListWith :: (a -> a -> a) -> [(KeyOf map, a)] -> map a #
Instances
mapInsertList :: IsMap map => [(KeyOf map, a)] -> map a -> map a #
mapDeleteList :: IsMap map => [KeyOf map] -> map a -> map a #