ghc-7.2.1: The GHC API

RnEnv

Documentation

type MiniFixityEnv = FastStringEnv (Located Fixity)Source

emptyFsEnv :: FastStringEnv aSource

extendFsEnv :: FastStringEnv a -> FastString -> a -> FastStringEnv aSource

lookupFsEnv :: FastStringEnv a -> FastString -> Maybe aSource

addFvRn :: FreeVars -> RnM (thing, FreeVars) -> RnM (thing, FreeVars)Source

mapFvRn :: (a -> RnM (b, FreeVars)) -> [a] -> RnM ([b], FreeVars)Source

mapMaybeFvRn :: (a -> RnM (b, FreeVars)) -> Maybe a -> RnM (Maybe b, FreeVars)Source

mapFvRnCPS :: (a -> (b -> RnM c) -> RnM c) -> [a] -> ([b] -> RnM c) -> RnM cSource