[commit: ghc] master: Derive Typable for promoted data constructors (Trac #8950) (54e6555)
git at git.haskell.org
git at git.haskell.org
Mon Apr 7 15:33:25 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/54e655536ecf7eba755b334058d5c22dab251bea/ghc
>---------------------------------------------------------------
commit 54e655536ecf7eba755b334058d5c22dab251bea
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Mon Apr 7 15:45:35 2014 +0100
Derive Typable for promoted data constructors (Trac #8950)
I got sucked into a significant refactoring of the way that
Typeable instances are derived. This makes it simpler and
more uniform.
I also improved the documentation in the user manual. Typeable
really is different to other classes, and now gets its own subsection.
>---------------------------------------------------------------
54e655536ecf7eba755b334058d5c22dab251bea
compiler/typecheck/TcDeriv.lhs | 257 ++++++++++----------
docs/users_guide/flags.xml | 2 +-
docs/users_guide/glasgow_exts.xml | 93 ++++---
testsuite/tests/deriving/should_fail/T2604.stderr | 8 +-
testsuite/tests/deriving/should_fail/T5863a.stderr | 8 +-
testsuite/tests/parser/should_compile/T5682.hs | 2 +-
6 files changed, 203 insertions(+), 167 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 54e655536ecf7eba755b334058d5c22dab251bea
More information about the ghc-commits
mailing list