[commit: ghc] wip/new-flatten-skolems-Oct14: Get the Untouchables level right in simplifyInfer (b24590f)

git at git.haskell.org git at git.haskell.org
Thu Oct 30 12:54:26 UTC 2014


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

On branch  : wip/new-flatten-skolems-Oct14
Link       : http://ghc.haskell.org/trac/ghc/changeset/b24590fe696e7732964b55372994da5e882e4a8b/ghc

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

commit b24590fe696e7732964b55372994da5e882e4a8b
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Wed Oct 29 17:18:33 2014 +0000

    Get the Untouchables level right in simplifyInfer
    
    Previously we could get constraints in which the untouchables-level did not
    strictly increase, which is one of the main invariants!
    
    This patch also simplifies and modularises the tricky case of generalising
    an inferred let-binding


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

b24590fe696e7732964b55372994da5e882e4a8b
 compiler/typecheck/FunDeps.lhs      |  42 +------
 compiler/typecheck/TcBinds.lhs      |   7 +-
 compiler/typecheck/TcPatSyn.lhs     |  17 ++-
 compiler/typecheck/TcSimplify.lhs   | 233 +++++++++++++++++++++++++-----------
 compiler/typecheck/TcTyClsDecls.lhs |   2 +-
 5 files changed, 177 insertions(+), 124 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 b24590fe696e7732964b55372994da5e882e4a8b


More information about the ghc-commits mailing list