diff options
author | RyanGlScott <ryan.gl.scott@gmail.com> | 2016-05-11 15:57:48 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-05-12 15:39:30 +0200 |
commit | b8e2565123de45f215277e3a92fbc7ace2b8fd71 (patch) | |
tree | f3373dc4a2c01a392271615084563545d1d01158 /testsuite/tests/perf/haddock | |
parent | e53f2180e89652c72e51ffa614c56294ba67cf37 (diff) | |
download | haskell-b8e2565123de45f215277e3a92fbc7ace2b8fd71.tar.gz |
Make Generic1 poly-kinded
This generalizes the `Generic1` typeclass to be of kind `k -> *`, and
this also makes the relevant datatypes and typeclasses in `GHC.Generics`
poly-kinded. If `PolyKinds` is enabled, `DeriveGeneric` derives
`Generic1` instances such that they use the most general kind possible.
Otherwise, deriving `Generic1` defaults to make an instance where the
argument is of kind `* -> *` (the current behavior).
Fixes #10604. Depends on D2117.
Test Plan: ./validate
Reviewers: kosmikus, dreixel, goldfire, austin, hvr, simonpj, bgamari
Reviewed By: simonpj, bgamari
Subscribers: thomie, ekmett
Differential Revision: https://phabricator.haskell.org/D2168
GHC Trac Issues: #10604
Diffstat (limited to 'testsuite/tests/perf/haddock')
-rw-r--r-- | testsuite/tests/perf/haddock/all.T | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/tests/perf/haddock/all.T b/testsuite/tests/perf/haddock/all.T index cf1ad4c4b2..b4600d4a9f 100644 --- a/testsuite/tests/perf/haddock/all.T +++ b/testsuite/tests/perf/haddock/all.T @@ -5,7 +5,7 @@ test('haddock.base', [unless(in_tree_compiler(), skip), req_haddock ,stats_num_field('bytes allocated', - [(wordsize(64), 30987348040, 5) + [(wordsize(64), 32855223200, 5) # 2012-08-14: 5920822352 (amd64/Linux) # 2012-09-20: 5829972376 (amd64/Linux) # 2012-10-08: 5902601224 (amd64/Linux) @@ -29,6 +29,7 @@ test('haddock.base', # 2015-12-17: 26282821104 (x86_64/Linux) - Update Haddock to master # 2015-12-17: 27812188000 (x86_64/Linux) - Move Data.Functor.* into base # 2016-02-25: 30987348040 (x86_64/Linux) - RuntimeRep + # 2016-05-12: 32855223200 (x86_64/Linux) - Make Generic1 poly-kinded ,(platform('i386-unknown-mingw32'), 4434804940, 5) # 2013-02-10: 3358693084 (x86/Windows) @@ -51,7 +52,7 @@ test('haddock.base', test('haddock.Cabal', [unless(in_tree_compiler(), skip), req_haddock ,stats_num_field('bytes allocated', - [(wordsize(64), 10963514352, 5) + [(wordsize(64), 11805238152, 5) # 2012-08-14: 3255435248 (amd64/Linux) # 2012-08-29: 3324606664 (amd64/Linux, new codegen) # 2012-10-08: 3373401360 (amd64/Linux) @@ -79,6 +80,7 @@ test('haddock.Cabal', # 2016-03-30: 10941742184 (amd64/Linux) - defer inlining of Int* Ord methods # 2016-04-06: 11542374816 (amd64/Linux) - CSE improvements and others # 2016-04-07: 10963514352 (amd64/Linux) - Revert to what phabricator claims + # 2016-05-22: 11805238152 (amd64/Linux) - Make Generic1 poly-kinded ,(platform('i386-unknown-mingw32'), 3293415576, 5) # 2012-10-30: 1733638168 (x86/Windows) |