summaryrefslogtreecommitdiff
path: root/compiler/GHC/HsToCore
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/HsToCore')
-rw-r--r--compiler/GHC/HsToCore/Binds.hs5
-rw-r--r--compiler/GHC/HsToCore/Errors/Types.hs3
-rw-r--r--compiler/GHC/HsToCore/Pmc/Solver.hs1
3 files changed, 7 insertions, 2 deletions
diff --git a/compiler/GHC/HsToCore/Binds.hs b/compiler/GHC/HsToCore/Binds.hs
index 4d594e833f..263ef8632d 100644
--- a/compiler/GHC/HsToCore/Binds.hs
+++ b/compiler/GHC/HsToCore/Binds.hs
@@ -39,6 +39,9 @@ import GHC.HsToCore.Pmc ( addTyCs, pmcGRHSs )
import GHC.Hs -- lots of things
import GHC.Core -- lots of things
+import GHC.Core.Rules
+import GHC.Core.Orphans
+import GHC.Core.Unfoldings
import GHC.Core.SimpleOpt ( simpleOptExpr )
import GHC.Core.Opt.OccurAnal ( occurAnalyseExpr )
import GHC.Core.Make
@@ -51,7 +54,7 @@ import GHC.Core.TyCon
import GHC.Core.Type
import GHC.Core.Coercion
import GHC.Core.Multiplicity
-import GHC.Core.Rules
+import GHC.Core.Rules.Apply
import GHC.Core.TyCo.Compare( eqType )
import GHC.Builtin.Names
diff --git a/compiler/GHC/HsToCore/Errors/Types.hs b/compiler/GHC/HsToCore/Errors/Types.hs
index 8f6586fb45..5f7723e937 100644
--- a/compiler/GHC/HsToCore/Errors/Types.hs
+++ b/compiler/GHC/HsToCore/Errors/Types.hs
@@ -6,7 +6,8 @@ module GHC.HsToCore.Errors.Types where
import GHC.Prelude
-import GHC.Core (CoreRule, CoreExpr, RuleName)
+import GHC.Core (CoreExpr)
+import GHC.Core.Rules (CoreRule, RuleName)
import GHC.Core.DataCon
import GHC.Core.Type
import GHC.Driver.Session
diff --git a/compiler/GHC/HsToCore/Pmc/Solver.hs b/compiler/GHC/HsToCore/Pmc/Solver.hs
index b70c868c2f..0c520cdd24 100644
--- a/compiler/GHC/HsToCore/Pmc/Solver.hs
+++ b/compiler/GHC/HsToCore/Pmc/Solver.hs
@@ -59,6 +59,7 @@ import GHC.Types.Var.Set
import GHC.Types.Unique.Supply
import GHC.Core
+import GHC.Core.Unfoldings
import GHC.Core.FVs (exprFreeVars)
import GHC.Core.TyCo.Compare( eqType )
import GHC.Core.Map.Expr