summaryrefslogtreecommitdiff
path: root/compiler/GHC/Types/Var/Env.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Types/Var/Env.hs')
-rw-r--r--compiler/GHC/Types/Var/Env.hs10
1 files changed, 8 insertions, 2 deletions
diff --git a/compiler/GHC/Types/Var/Env.hs b/compiler/GHC/Types/Var/Env.hs
index 55ea2a0dda..3ad0f10156 100644
--- a/compiler/GHC/Types/Var/Env.hs
+++ b/compiler/GHC/Types/Var/Env.hs
@@ -456,7 +456,7 @@ delTidyEnvList (occ_env, var_env) vs = (occ_env', var_env')
{-
************************************************************************
* *
-\subsection{@VarEnv@s}
+ VarEnv
* *
************************************************************************
-}
@@ -565,7 +565,13 @@ modifyVarEnv_Directly mangle_fn env key
Nothing -> env
Just xx -> addToUFM_Directly env key (mangle_fn xx)
--- Deterministic VarEnv
+{-
+************************************************************************
+* *
+ Deterministic VarEnv (DVarEnv)
+* *
+************************************************************************
+-}
-- See Note [Deterministic UniqFM] in GHC.Types.Unique.DFM for explanation why we need
-- DVarEnv.