From: Ian Lynagh Date: Wed, 6 Aug 2008 11:06:12 +0000 (+0000) Subject: Add some GHC.Generics imports so we can find Inl etc where we need to X-Git-Tag: 6_10_branch_has_been_forked~4 X-Git-Url: http://git.megacz.com/?p=ghc-prim.git;a=commitdiff_plain;h=56982bc49625b9873a844f1e78686dbcc5c14301 Add some GHC.Generics imports so we can find Inl etc where we need to --- 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 :