[commit: ghc] wip/14691: wip: type EvTerm = CoreExpr (#14691) (dacc95c)

git at git.haskell.org git at git.haskell.org
Fri Jan 19 23:46:48 UTC 2018


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

On branch  : wip/14691
Link       : http://ghc.haskell.org/trac/ghc/changeset/dacc95cc6647644f6a6c67f7cae39059e80c05ed/ghc

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

commit dacc95cc6647644f6a6c67f7cae39059e80c05ed
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Fri Jan 19 18:44:54 2018 -0500

    wip: type EvTerm = CoreExpr (#14691)
    
    This replaces the constructors with smart constructors.
    
    Next steps
    
     * copy the actual implementation from DsBinds to TcEvidence
       (or better, into a separate module EvTerm).
     * implement zoking for core expressions


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

dacc95cc6647644f6a6c67f7cae39059e80c05ed
 compiler/deSugar/Desugar.hs       |   2 +-
 compiler/deSugar/DsBinds.hs       |  32 ++++------
 compiler/deSugar/DsExpr.hs        |   4 +-
 compiler/deSugar/Match.hs         |   4 +-
 compiler/deSugar/MatchCon.hs      |   2 +-
 compiler/typecheck/Inst.hs        |   4 +-
 compiler/typecheck/TcCanonical.hs |  22 +++----
 compiler/typecheck/TcErrors.hs    |   2 +-
 compiler/typecheck/TcEvidence.hs  | 130 ++++++++++++++++++++------------------
 compiler/typecheck/TcFlatten.hs   |   2 +-
 compiler/typecheck/TcHsSyn.hs     |   7 +-
 compiler/typecheck/TcInteract.hs  |  36 +++++------
 compiler/typecheck/TcPatSyn.hs    |   2 +-
 compiler/typecheck/TcRnTypes.hs   |   4 +-
 compiler/typecheck/TcSMonad.hs    |   2 +-
 15 files changed, 132 insertions(+), 123 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 dacc95cc6647644f6a6c67f7cae39059e80c05ed


More information about the ghc-commits mailing list