Add some GHC.Generics imports so we can find Inl etc where we need to
authorIan Lynagh <igloo@earth.li>
Wed, 6 Aug 2008 11:06:12 +0000 (11:06 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 6 Aug 2008 11:06:12 +0000 (11:06 +0000)
GHC/Tuple.hs
GHC/Types.hs

index dac7a4f..01ece26 100644 (file)
@@ -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
index e43e376..5531a6d 100644 (file)
@@ -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 :