diff options
Diffstat (limited to 'compiler/GHC/Types/Var/Env.hs')
-rw-r--r-- | compiler/GHC/Types/Var/Env.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/GHC/Types/Var/Env.hs b/compiler/GHC/Types/Var/Env.hs index ed58c413f4..5376ff3632 100644 --- a/compiler/GHC/Types/Var/Env.hs +++ b/compiler/GHC/Types/Var/Env.hs @@ -594,9 +594,13 @@ filterDVarEnv = filterUDFM alterDVarEnv :: (Maybe a -> Maybe a) -> DVarEnv a -> Var -> DVarEnv a alterDVarEnv = alterUDFM +-- | Note that 'plusDVarEnv' is *not* associative unless the keys of the two +-- maps are disjoint. plusDVarEnv :: DVarEnv a -> DVarEnv a -> DVarEnv a plusDVarEnv = plusUDFM +-- | Note that 'plusDVarEnv_C' is *not* associative unless the keys of the two +-- maps are disjoint. plusDVarEnv_C :: (a -> a -> a) -> DVarEnv a -> DVarEnv a -> DVarEnv a plusDVarEnv_C = plusUDFM_C |