ghc-7.6.2: The GHC API

Safe HaskellNone

TrieMap

Documentation

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

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

data MaybeMap m a Source

Instances

data ListMap m a Source

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

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