[commit: ghc] wip/T8503: Implement GeneralizedNewtypeDeriving in terms of `coerce`. (040ec25)

git at git.haskell.org git at git.haskell.org
Fri Nov 22 13:50:44 UTC 2013


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

On branch  : wip/T8503
Link       : http://ghc.haskell.org/trac/ghc/changeset/040ec25ea1ccf055da0010a68a1440ba896f136d/ghc

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

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

    Implement GeneralizedNewtypeDeriving in terms of `coerce`.


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

040ec25ea1ccf055da0010a68a1440ba896f136d
 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 040ec25ea1ccf055da0010a68a1440ba896f136d


More information about the ghc-commits mailing list