ghc-7.7.20130829: 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

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

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