[commit: ghc] wip/tdammers/D4394: Make mkNthCo take a Role parameter. (a3bdf13)

git at git.haskell.org git at git.haskell.org
Tue Mar 20 11:54:09 UTC 2018


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

On branch  : wip/tdammers/D4394
Link       : http://ghc.haskell.org/trac/ghc/changeset/a3bdf13ca6358ca1c6f00305d33a34a9f35116cf/ghc

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

commit a3bdf13ca6358ca1c6f00305d33a34a9f35116cf
Author: Richard Eisenberg <rae at cs.brynmawr.edu>
Date:   Fri Jan 26 22:09:33 2018 -0500

    Make mkNthCo take a Role parameter.
    
    Most callers of mkNthCo know the role of the coercion they
    are trying to make. So instead of calculating this role, just
    pass it in.


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

a3bdf13ca6358ca1c6f00305d33a34a9f35116cf
 compiler/coreSyn/CoreLint.hs      |  11 ++-
 compiler/coreSyn/CoreOpt.hs       |  24 +++----
 compiler/coreSyn/CoreUtils.hs     |   4 +-
 compiler/iface/TcIface.hs         |   2 +-
 compiler/typecheck/TcCanonical.hs |   2 +-
 compiler/typecheck/TcEvidence.hs  |  11 +--
 compiler/typecheck/TcUnify.hs     |   4 +-
 compiler/types/Coercion.hs        | 139 ++++++++++++++++++++------------------
 compiler/types/Coercion.hs-boot   |   2 +-
 compiler/types/OptCoercion.hs     | 109 +++++++++++++-----------------
 compiler/types/TyCoRep.hs         |  11 ++-
 compiler/types/Type.hs            |   6 +-
 compiler/types/Unify.hs           |   4 +-
 13 files changed, 163 insertions(+), 166 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 a3bdf13ca6358ca1c6f00305d33a34a9f35116cf


More information about the ghc-commits mailing list