diff options
author | Jose Pedro Magalhaes <jpm@cs.uu.nl> | 2011-06-09 13:31:18 +0200 |
---|---|---|
committer | Jose Pedro Magalhaes <jpm@cs.uu.nl> | 2011-06-09 13:31:18 +0200 |
commit | c1e88d86bbee204487b4014fc5ca926b5eb04df9 (patch) | |
tree | a4ea9ea73ffbe4b302ab941af5159547ea93495c /libraries/ghc-prim/GHC/Tuple.hs | |
parent | a642f15e3e8fd733fb4cc09685eeafa7a7865e55 (diff) | |
download | haskell-c1e88d86bbee204487b4014fc5ca926b5eb04df9.tar.gz |
FIX #5227: derive Generic only up to 7-tuples, like Data.
Diffstat (limited to 'libraries/ghc-prim/GHC/Tuple.hs')
-rw-r--r-- | libraries/ghc-prim/GHC/Tuple.hs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libraries/ghc-prim/GHC/Tuple.hs b/libraries/ghc-prim/GHC/Tuple.hs index f0b0c5c8b2..a5acc9c58e 100644 --- a/libraries/ghc-prim/GHC/Tuple.hs +++ b/libraries/ghc-prim/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 |