ghc-7.8.20140130: The GHC API

Safe HaskellNone
LanguageHaskell98

TrieMap

Documentation

foldCoreMap :: (a -> b -> b) -> b -> CoreMap a -> bSource

foldTypeMap :: (a -> b -> b) -> b -> TypeMap a -> bSource

data MaybeMap m aSource

Instances

data ListMap m aSource

Instances

class TrieMap m whereSource

Associated Types

type Key m :: *Source

Methods

emptyTM :: m aSource

lookupTM :: forall b. Key m -> m b -> Maybe bSource

alterTM :: forall b. Key m -> XT b -> m b -> m bSource

mapTM :: (a -> b) -> m a -> m bSource

foldTM :: (a -> b -> b) -> m a -> b -> bSource

insertTM :: TrieMap m => Key m -> a -> m a -> m aSource

deleteTM :: TrieMap m => Key m -> m a -> m aSource