ghc-7.8.3: The GHC API

Safe HaskellNone
LanguageHaskell98

IfaceEnv

Synopsis

Documentation

mkNameCacheUpdater :: TcRnIf a b NameCacheUpdater Source

Return a function to atomically update the name cache.

newtype NameCacheUpdater Source

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