ghc-7.0.1: The GHC API

IfaceEnv

Synopsis

Documentation

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

mkNameCacheUpdater :: TcRnIf a b (NameCacheUpdater c)

Return a function to atomically update the name cache.

type NameCacheUpdater c = (NameCache -> (NameCache, c)) -> IO c

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.