[commit: ghc] master: Refactor tcInferArgs and add comments. (4cc5a39)

git at git.haskell.org git at git.haskell.org
Sat Jun 25 13:30:25 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/4cc5a39ec79af7dcc4a5ac96823c704c34c5c202/ghc

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

commit 4cc5a39ec79af7dcc4a5ac96823c704c34c5c202
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date:   Fri Jun 24 19:25:07 2016 -0400

    Refactor tcInferArgs and add comments.
    
    This removes an unnecessary loop looking for invisible binders
    and tries to clarify what the very closely-related functions
    tcInferArgs, tc_infer_args, tcInferApps all do.


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

4cc5a39ec79af7dcc4a5ac96823c704c34c5c202
 compiler/typecheck/Inst.hs     |  2 +-
 compiler/typecheck/TcHsType.hs | 71 ++++++++++++++++++++----------------------
 compiler/types/TyCoRep.hs      |  8 ++++-
 compiler/types/Type.hs         | 17 +++++++++-
 4 files changed, 57 insertions(+), 41 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 4cc5a39ec79af7dcc4a5ac96823c704c34c5c202


More information about the ghc-commits mailing list