summaryrefslogtreecommitdiff
path: root/compiler/ghc.cabal.in
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2020-10-07 14:06:14 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-10-09 08:53:21 -0400
commitef950b19c04bc9c41920ecc9f94382653981d4bb (patch)
tree376288f99f961cb28736a9b966155a257269de2e /compiler/ghc.cabal.in
parente5c7c9c8578de1248826c21ebd08e475d094a552 (diff)
downloadhaskell-ef950b19c04bc9c41920ecc9f94382653981d4bb.tar.gz
Add TyCon Set/Env and use them in a few places.
Firstly this improves code clarity. But it also has performance benefits as we no longer go through the name of the TyCon to get at it's unique. In order to make this work the recursion check for TyCon has been moved into it's own module in order to avoid import cycles.
Diffstat (limited to 'compiler/ghc.cabal.in')
-rw-r--r--compiler/ghc.cabal.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in
index ec7972d082..d12c2ca45e 100644
--- a/compiler/ghc.cabal.in
+++ b/compiler/ghc.cabal.in
@@ -531,6 +531,9 @@ Library
GHC.Core.Multiplicity
GHC.Core.UsageEnv
GHC.Core.TyCon
+ GHC.Core.TyCon.Env
+ GHC.Core.TyCon.Set
+ GHC.Core.TyCon.RecWalk
GHC.Core.Coercion.Axiom
GHC.Core.Type
GHC.Core.TyCo.Rep