From 56982bc49625b9873a844f1e78686dbcc5c14301 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 6 Aug 2008 11:06:12 +0000 Subject: [PATCH] Add some GHC.Generics imports so we can find Inl etc where we need to --- GHC/Tuple.hs | 3 +++ GHC/Types.hs | 2 ++ 2 files changed, 5 insertions(+) diff --git a/GHC/Tuple.hs b/GHC/Tuple.hs index dac7a4f..01ece26 100644 --- a/GHC/Tuple.hs +++ b/GHC/Tuple.hs @@ -15,6 +15,9 @@ module GHC.Tuple where +-- We need Inl etc behind the scenes for the tuple definitions +import GHC.Generics () + default () -- Double and Inteegr aren't available yet data (,) a b = (,) a b diff --git a/GHC/Types.hs b/GHC/Types.hs index e43e376..5531a6d 100644 --- a/GHC/Types.hs +++ b/GHC/Types.hs @@ -4,6 +4,8 @@ module GHC.Types where import GHC.Prim +-- We need Inl etc behind the scenes for the type definitions +import GHC.Generics () infixr 5 : -- 1.7.10.4