[commit: ghc] wip/T5462: Implement #5462 (deriving clause for arbitrary classes) (2ad0518)

git at git.haskell.org git at git.haskell.org
Fri Nov 14 16:50:51 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T5462
Link       : http://ghc.haskell.org/trac/ghc/changeset/2ad051866b5e5bc7751f7f9210e026bb989509f4/ghc

>---------------------------------------------------------------

commit 2ad051866b5e5bc7751f7f9210e026bb989509f4
Author: Jose Pedro Magalhaes <dreixel at gmail.com>
Date:   Mon Sep 29 10:38:00 2014 +0100

    Implement #5462 (deriving clause for arbitrary classes)


>---------------------------------------------------------------

2ad051866b5e5bc7751f7f9210e026bb989509f4
 compiler/basicTypes/BasicTypes.lhs       |  1 +
 compiler/main/DynFlags.hs                |  9 ++++
 compiler/typecheck/TcDeriv.lhs           | 76 ++++++++++++++++++++++++----
 compiler/typecheck/TcGenDeriv.lhs        | 31 +++++++++++-
 testsuite/tests/generics/GEnum/Enum.hs   | 87 ++++++++++++++++++++++++++++++++
 testsuite/tests/generics/GEq/GEq1A.hs    |  3 +-
 testsuite/tests/generics/T5462No1.hs     | 25 +++++++++
 testsuite/tests/generics/T5462No1.stderr | 19 +++++++
 testsuite/tests/generics/T5462No2.hs     | 26 ++++++++++
 testsuite/tests/generics/T5462No2.stderr | 19 +++++++
 testsuite/tests/generics/T5462Yes.hs     | 48 ++++++++++++++++++
 testsuite/tests/generics/T5462Yes.stdout |  1 +
 testsuite/tests/generics/all.T           | 12 +++--
 testsuite/tests/module/mod53.stderr      |  1 +
 14 files changed, 340 insertions(+), 18 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 2ad051866b5e5bc7751f7f9210e026bb989509f4


More information about the ghc-commits mailing list