We should not use XGenerics in ghc-prim, for now at least.
[ghc-prim.git] / GHC / Tuple.hs
index dac7a4f..334275a 100644 (file)
@@ -1,4 +1,5 @@
 {-# OPTIONS_GHC -XNoImplicitPrelude #-}
+{-# OPTIONS_GHC -XNoGenerics        #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Tuple
@@ -15,6 +16,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