[commit: ghc] wip/gadtpm: Translate (HsExpr Id) to PmExpr for better precision (dd68bd7)

git at git.haskell.org git at git.haskell.org
Fri Jun 26 13:44:23 UTC 2015


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

On branch  : wip/gadtpm
Link       : http://ghc.haskell.org/trac/ghc/changeset/dd68bd7db36de4849dc7a36222bb3e6dc41afd56/ghc

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

commit dd68bd7db36de4849dc7a36222bb3e6dc41afd56
Author: George Karachalias <george.karachalias at gmail.com>
Date:   Fri Jun 26 14:54:14 2015 +0200

    Translate (HsExpr Id) to PmExpr for better precision
    
      * NOTE: Replacing 'PmExprOther' with 'hsExprToPmExpr' in
        'translatePat' gives no better results at the moment because all
        expressions we generate are OpApp/HsApp, which hsExprToPmExpr
        leaves untouched. We may improve it in the future though so it
        is better to use 'hsExprToPmExpr' instead of wrapping it
        unconditionally with a PmExprOther.


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

dd68bd7db36de4849dc7a36222bb3e6dc41afd56
 compiler/deSugar/Check.hs | 124 +++++++++++++++++++++++++++++++++++++---------
 1 file changed, 100 insertions(+), 24 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 dd68bd7db36de4849dc7a36222bb3e6dc41afd56


More information about the ghc-commits mailing list