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

git at git.haskell.org git at git.haskell.org
Thu Mar 22 11:02:15 UTC 2018


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

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

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

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


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

b2b5d3ade22bcf33c18490e8dcf03c1dc3e5061d
 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 b2b5d3ade22bcf33c18490e8dcf03c1dc3e5061d


More information about the ghc-commits mailing list