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

git at git.haskell.org git at git.haskell.org
Tue Mar 27 14:28:39 UTC 2018


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

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

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

commit e1cf008ad024fe705330aa755d6cb7a84305a689
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.


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

e1cf008ad024fe705330aa755d6cb7a84305a689
 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        | 201 ++++++++++++++++++++++++++------------
 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, 225 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 e1cf008ad024fe705330aa755d6cb7a84305a689


More information about the ghc-commits mailing list