ghc-7.4.2: The GHC API

Safe HaskellNone

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