ghc-7.4.2: The GHC API

Safe HaskellNone

NameEnv

Contents

Synopsis

Var, Id and TyVar environments (maps)

Manipulating these environments

extendNameEnv_C :: (a -> a -> a) -> NameEnv a -> Name -> a -> NameEnv aSource

extendNameEnv_Acc :: (a -> b -> b) -> (a -> b) -> NameEnv b -> Name -> a -> NameEnv bSource

extendNameEnvList_C :: (a -> a -> a) -> NameEnv a -> [(Name, a)] -> NameEnv aSource

foldNameEnv :: (a -> b -> b) -> b -> NameEnv a -> bSource

filterNameEnv :: (elt -> Bool) -> NameEnv elt -> NameEnv eltSource

plusNameEnv_C :: (a -> a -> a) -> NameEnv a -> NameEnv a -> NameEnv aSource

mapNameEnv :: (elt1 -> elt2) -> NameEnv elt1 -> NameEnv elt2Source