[commit: ghc] master: Implement GeneralizedNewtypeDeriving in terms of `coerce`. (2930694)

git at git.haskell.org git at git.haskell.org
Fri Nov 22 18:29:19 UTC 2013


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/2930694dede770920a206519e62d36b332ec8681/ghc

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

commit 2930694dede770920a206519e62d36b332ec8681
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date:   Mon Nov 11 13:40:44 2013 -0500

    Implement GeneralizedNewtypeDeriving in terms of `coerce`.


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

2930694dede770920a206519e62d36b332ec8681
 compiler/basicTypes/MkId.lhs         |    2 +-
 compiler/hsSyn/HsUtils.lhs           |   46 +++++++++++
 compiler/parser/ParserCore.y         |    2 +-
 compiler/typecheck/TcDeriv.lhs       |  149 ++++++++++++++++------------------
 compiler/typecheck/TcEnv.lhs         |   34 +++-----
 compiler/typecheck/TcGenDeriv.lhs    |   57 +++++++++++++
 compiler/typecheck/TcGenGenerics.lhs |   14 +++-
 compiler/typecheck/TcInstDcls.lhs    |   97 +++-------------------
 8 files changed, 206 insertions(+), 195 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 2930694dede770920a206519e62d36b332ec8681


More information about the ghc-commits mailing list