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

git at git.haskell.org git at git.haskell.org
Fri Oct 31 13:43:17 UTC 2014


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

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

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

commit 446ced2fab5e221c724be4b4fbc6946e7959508f
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


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

446ced2fab5e221c724be4b4fbc6946e7959508f
 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 446ced2fab5e221c724be4b4fbc6946e7959508f


More information about the ghc-commits mailing list