ghc-7.0.1: The GHC API

IfaceEnv

Synopsis

Documentation

mkNameCacheUpdater :: TcRnIf a b (NameCacheUpdater c)Source

Return a function to atomically update the name cache.

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

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.