ghc-7.10.2: The GHC API

Safe HaskellNone
LanguageHaskell2010

IfaceEnv

Synopsis

Documentation

extendIfaceIdEnv :: [Id] -> IfL a -> IfL a

updNameCache :: (NameCache -> (NameCache, c)) -> TcRnIf a b c

mkNameCacheUpdater :: TcRnIf a b NameCacheUpdater

Return a function to atomically update the name cache.

newtype NameCacheUpdater

A function that atomically updates the name cache given a modifier function. The second result of the modifier function will be the result of the IO action.

Constructors

NCU 

Fields

updateNameCache :: forall c. (NameCache -> (NameCache, c)) -> IO c