ghc-8.0.2: The GHC API

Safe HaskellNone
LanguageHaskell2010

IfaceEnv

Synopsis

Documentation

lookupOrig :: Module -> OccName -> TcRnIf a b Name Source #

Look up the Name for a given Module and OccName. Consider alternately using lookupIfaceTop if you're in the IfL monad and Module is simply that of the ModIface you are typechecking.

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