ApplicativeDo transformation
authorSimon Marlow <marlowsd@gmail.com>
Fri, 13 Mar 2015 16:39:58 +0000 (16:39 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 17 Sep 2015 15:52:03 +0000 (16:52 +0100)
commit8ecf6d8f7dfee9e5b1844cd196f83f00f3b6b879
tree9bf2b8601fefa7e1eaac11079d27660824b1466f
parent43eb1dc52a4d3cbba9617f5a26177b8251d84b6a
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
34 files changed:
compiler/coreSyn/MkCore.hs
compiler/deSugar/Coverage.hs
compiler/deSugar/DsArrows.hs
compiler/deSugar/DsExpr.hs
compiler/deSugar/DsGRHSs.hs
compiler/deSugar/DsListComp.hs
compiler/deSugar/DsMeta.hs
compiler/deSugar/DsUtils.hs
compiler/hsSyn/HsExpr.hs
compiler/hsSyn/HsUtils.hs
compiler/main/DynFlags.hs
compiler/parser/RdrHsSyn.hs
compiler/rename/RnBinds.hs
compiler/rename/RnExpr.hs
compiler/typecheck/TcArrows.hs
compiler/typecheck/TcHsSyn.hs
compiler/typecheck/TcMatches.hs
docs/users_guide/flags.xml
docs/users_guide/glasgow_exts.xml
testsuite/tests/ado/Makefile [new file with mode: 0644]
testsuite/tests/ado/ado001.hs [new file with mode: 0644]
testsuite/tests/ado/ado001.stdout [new file with mode: 0644]
testsuite/tests/ado/ado002.hs [new file with mode: 0644]
testsuite/tests/ado/ado002.stderr [new file with mode: 0644]
testsuite/tests/ado/ado003.hs [new file with mode: 0644]
testsuite/tests/ado/ado003.stderr [new file with mode: 0644]
testsuite/tests/ado/ado004.hs [new file with mode: 0644]
testsuite/tests/ado/ado004.stderr [new file with mode: 0644]
testsuite/tests/ado/ado005.hs [new file with mode: 0644]
testsuite/tests/ado/ado005.stderr [new file with mode: 0644]
testsuite/tests/ado/ado006.hs [new file with mode: 0644]
testsuite/tests/ado/ado007.hs [new file with mode: 0644]
testsuite/tests/ado/all.T [new file with mode: 0644]
testsuite/tests/driver/T4437.hs