[commit: ghc-prim] master: FIX #5227: derive Generic only up to 7-tuples, like Data. (bca02fd)
José Pedro Magalhães
jpm at cs.uu.nl
Thu Jun 9 13:43:27 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/ghc-prim
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/bca02fda94c406cc484a3bfbcb6d120d43439935
>---------------------------------------------------------------
commit bca02fda94c406cc484a3bfbcb6d120d43439935
Author: Jose Pedro Magalhaes <jpm at cs.uu.nl>
Date: Thu Jun 9 13:31:18 2011 +0200
FIX #5227: derive Generic only up to 7-tuples, like Data.
>---------------------------------------------------------------
GHC/Tuple.hs | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/GHC/Tuple.hs b/GHC/Tuple.hs
index f0b0c5c..a5acc9c 100644
--- a/GHC/Tuple.hs
+++ b/GHC/Tuple.hs
@@ -17,23 +17,23 @@
module GHC.Tuple where
--- import GHC.Generics (Generic)
+import GHC.Generics (Generic)
default () -- Double and Integer aren't available yet
data (,) a b = (,) a b
- -- deriving Generic
+ deriving Generic
data (,,) a b c = (,,) a b c
- -- deriving Generic
+ deriving Generic
data (,,,) a b c d = (,,,) a b c d
- -- deriving Generic
+ deriving Generic
data (,,,,) a b c d e = (,,,,) a b c d e
- -- deriving Generic
+ deriving Generic
data (,,,,,) a b c d e f = (,,,,,) a b c d e f
- -- deriving Generic
+ deriving Generic
data (,,,,,,) a b c d e f g = (,,,,,,) a b c d e f g
- -- deriving Generic
+ deriving Generic
data (,,,,,,,) a b c d e f g h = (,,,,,,,) a b c d e f g h
-- deriving Generic
data (,,,,,,,,) a b c d e f g h i = (,,,,,,,,) a b c d e f g h i
More information about the Cvs-libraries
mailing list