[commit: base] ghc-generics: Comment the generics stuff instances in GHC.Int, for now. (4817fca)
José Pedro Magalhães
jpm at cs.uu.nl
Mon May 2 21:53:12 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : ghc-generics
http://hackage.haskell.org/trac/ghc/changeset/4817fca11f90708d2d307701f6d901d28ea5245c
>---------------------------------------------------------------
commit 4817fca11f90708d2d307701f6d901d28ea5245c
Author: Jose Pedro Magalhaes <jpm at cs.uu.nl>
Date: Mon May 2 20:50:35 2011 +0200
Comment the generics stuff instances in GHC.Int, for now.
>---------------------------------------------------------------
GHC/Int.hs | 5 +++--
1 files 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
+-}
More information about the Cvs-libraries
mailing list