summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Base.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/GHC/Base.lhs')
-rw-r--r--libraries/base/GHC/Base.lhs3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/base/GHC/Base.lhs b/libraries/base/GHC/Base.lhs
index 1c8e144b7f..89ee79b72a 100644
--- a/libraries/base/GHC/Base.lhs
+++ b/libraries/base/GHC/Base.lhs
@@ -122,6 +122,9 @@ import GHC.Tuple ()
-- Likewise we need Integer when deriving things like Eq instances, and
-- this is a convenient place to force it to be built
import GHC.Integer ()
+-- We need GHC.Records before declaring datatypes with record fields
+-- (see Note [Dependency on GHC.Records] in GHC.Records).
+import GHC.Records ()
infixr 9 .
infixr 5 ++