[commit: ghc] master: ApplicativeDo transformation (8ecf6d8)

git at git.haskell.org git at git.haskell.org
Thu Sep 17 15:50:07 UTC 2015


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

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

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

commit 8ecf6d8f7dfee9e5b1844cd196f83f00f3b6b879
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Fri Mar 13 16:39:58 2015 +0000

    ApplicativeDo transformation
    
    Summary:
    This is an implementation of the ApplicativeDo proposal.  See the Note
    [ApplicativeDo] in RnExpr for details on the current implementation,
    and the wiki page https://ghc.haskell.org/trac/ghc/wiki/ApplicativeDo
    for design notes.
    
    Test Plan: validate
    
    Reviewers: simonpj, goldfire, austin
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D729


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

8ecf6d8f7dfee9e5b1844cd196f83f00f3b6b879
 compiler/coreSyn/MkCore.hs                    |  47 +--
 compiler/deSugar/Coverage.hs                  |  31 +-
 compiler/deSugar/DsArrows.hs                  |  11 +-
 compiler/deSugar/DsExpr.hs                    |  41 +-
 compiler/deSugar/DsGRHSs.hs                   |   2 +
 compiler/deSugar/DsListComp.hs                |  27 +-
 compiler/deSugar/DsMeta.hs                    |   2 +-
 compiler/deSugar/DsUtils.hs                   |  18 +-
 compiler/hsSyn/HsExpr.hs                      |  91 ++++-
 compiler/hsSyn/HsUtils.hs                     |  76 +++-
 compiler/main/DynFlags.hs                     |   2 +
 compiler/parser/RdrHsSyn.hs                   |   4 +-
 compiler/rename/RnBinds.hs                    |  19 +-
 compiler/rename/RnExpr.hs                     | 528 ++++++++++++++++++++++++--
 compiler/typecheck/TcArrows.hs                |   4 +-
 compiler/typecheck/TcHsSyn.hs                 |  27 +-
 compiler/typecheck/TcMatches.hs               | 126 +++++-
 docs/users_guide/flags.xml                    |   8 +
 docs/users_guide/glasgow_exts.xml             | 172 +++++++++
 testsuite/tests/{annotations => ado}/Makefile |   0
 testsuite/tests/ado/ado001.hs                 | 159 ++++++++
 testsuite/tests/ado/ado001.stdout             |  10 +
 testsuite/tests/ado/ado002.hs                 |  24 ++
 testsuite/tests/ado/ado002.stderr             |  55 +++
 testsuite/tests/ado/ado003.hs                 |   8 +
 testsuite/tests/ado/ado003.stderr             |   9 +
 testsuite/tests/ado/ado004.hs                 | 247 ++++++++++++
 testsuite/tests/ado/ado004.stderr             |  28 ++
 testsuite/tests/ado/ado005.hs                 |  10 +
 testsuite/tests/ado/ado005.stderr             |  21 +
 testsuite/tests/ado/ado006.hs                 |  10 +
 testsuite/tests/ado/ado007.hs                 |  16 +
 testsuite/tests/ado/all.T                     |   7 +
 testsuite/tests/driver/T4437.hs               |   3 +-
 34 files changed, 1684 insertions(+), 159 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 8ecf6d8f7dfee9e5b1844cd196f83f00f3b6b879


More information about the ghc-commits mailing list