[commit: ghc] master: Get the Untouchables level right in simplifyInfer (e11e1b8)

git at git.haskell.org git at git.haskell.org
Tue Nov 4 10:38:19 UTC 2014


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

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

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

commit e11e1b80324cd165f5439132384b56dd72355718
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


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

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


More information about the ghc-commits mailing list