ContentsIndex
Org.Org.Semantic.HBase.Structure.Map
Synopsis
class Map from to map | map -> from to where
lookup :: from -> map -> to
(!) :: Map from to map => map -> from -> to
lookupWithDefault :: Map from (Maybe to) map => to -> from -> map -> to
class (HasNothing map, Map from (Maybe to) map) => AddableMap from to map | map -> from to where
addMapEntry :: (from, to) -> map -> map
removeMapEntry :: from -> map -> map
addMapEntries :: [(from, to)] -> map -> map
listToMap :: [(from, to)] -> map
Documentation
class Map from to map | map -> from to where
a map with which one can look stuff up.
Methods
lookup :: from -> map -> to
Instances
Ix from => Map from to (Array from to)
Map Int (Maybe a) (ArrayList a)
Ordered from => Map from (Maybe to) (FiniteMap from to)
Map from to (from -> to)
(!) :: Map from to map => map -> from -> to
lookupWithDefault :: Map from (Maybe to) map => to -> from -> map -> to
class (HasNothing map, Map from (Maybe to) map) => AddableMap from to map | map -> from to where
Methods
addMapEntry :: (from, to) -> map -> map
replaces previous binding, if any
removeMapEntry :: from -> map -> map
won't complain if it wasn't there
addMapEntries :: [(from, to)] -> map -> map
listToMap :: [(from, to)] -> map
Instances
Ordered from => AddableMap from to (FiniteMap from to)
Produced by Haddock version 0.6