From 4817fca11f90708d2d307701f6d901d28ea5245c Mon Sep 17 00:00:00 2001 From: Jose Pedro Magalhaes Date: Mon, 2 May 2011 20:50:35 +0200 Subject: [PATCH] Comment the generics stuff instances in GHC.Int, for now. --- GHC/Int.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/GHC/Int.hs b/GHC/Int.hs index bafa7f0..8e8264a 100644 --- a/GHC/Int.hs +++ b/GHC/Int.hs @@ -43,7 +43,7 @@ import GHC.Word hiding (uncheckedShiftL64#, uncheckedShiftRL64#) import GHC.Show import GHC.Float () -- for RealFrac methods -- For defining instances for the new generic deriving mechanism -import GHC.Generics (Arity(..), Associativity(..), Fixity(..)) +--import GHC.Generics (Arity(..), Associativity(..), Fixity(..)) ------------------------------------------------------------------------ -- type Int8 @@ -917,7 +917,7 @@ instance Ix Int64 where -- We need instances for some basic datatypes, but some of those use Int, -- so we have to put the instances here - +{- deriving instance Eq Arity deriving instance Eq Associativity deriving instance Eq Fixity @@ -933,3 +933,4 @@ deriving instance Read Fixity deriving instance Show Arity deriving instance Show Associativity deriving instance Show Fixity +-} -- 1.7.10.4