summaryrefslogtreecommitdiff
path: root/compiler/GHC/Core/Map.hs
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-03-02 11:43:03 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-03-16 23:53:24 -0400
commit18a346a4b5a02b8c62e8eedb91b35c2d8e754b96 (patch)
tree59121ffd5a46c1987a184db3842a3089f6250d11 /compiler/GHC/Core/Map.hs
parent818b3c38e7548f4720815f76969238d82c9650f7 (diff)
downloadhaskell-18a346a4b5a02b8c62e8eedb91b35c2d8e754b96.tar.gz
Modules: Core (#13009)
Update submodule: haddock
Diffstat (limited to 'compiler/GHC/Core/Map.hs')
-rw-r--r--compiler/GHC/Core/Map.hs12
1 files changed, 6 insertions, 6 deletions
diff --git a/compiler/GHC/Core/Map.hs b/compiler/GHC/Core/Map.hs
index ee12bdd8a3..c3e765ff2b 100644
--- a/compiler/GHC/Core/Map.hs
+++ b/compiler/GHC/Core/Map.hs
@@ -41,10 +41,10 @@ import GhcPrelude
import TrieMap
import GHC.Core
-import Coercion
+import GHC.Core.Coercion
import Name
-import Type
-import TyCoRep
+import GHC.Core.Type
+import GHC.Core.TyCo.Rep
import Var
import FastString(FastString)
import Util
@@ -475,10 +475,10 @@ data TypeMapX a
, tm_tylit :: TyLitMap a
, tm_coerce :: Maybe a
}
- -- Note that there is no tyconapp case; see Note [Equality on AppTys] in Type
+ -- Note that there is no tyconapp case; see Note [Equality on AppTys] in GHC.Core.Type
-- | Squeeze out any synonyms, and change TyConApps to nested AppTys. Why the
--- last one? See Note [Equality on AppTys] in Type
+-- last one? See Note [Equality on AppTys] in GHC.Core.Type
--
-- Note, however, that we keep Constraint and Type apart here, despite the fact
-- that they are both synonyms of TYPE 'LiftedRep (see #11715).
@@ -515,7 +515,7 @@ instance Eq (DeBruijn Type) where
(Just bv, Just bv') -> bv == bv'
(Nothing, Nothing) -> v == v'
_ -> False
- -- See Note [Equality on AppTys] in Type
+ -- See Note [Equality on AppTys] in GHC.Core.Type
(AppTy t1 t2, s) | Just (t1', t2') <- repSplitAppTy_maybe s
-> D env t1 == D env' t1' && D env t2 == D env' t2'
(s, AppTy t1' t2') | Just (t1, t2) <- repSplitAppTy_maybe s