summaryrefslogtreecommitdiff
path: root/testsuite/tests
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2017-02-22 13:45:52 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2017-02-22 13:45:52 +0000
commit254bc3357b0de673b7873f1c4cf5dfc26d0bb5f2 (patch)
treeea94b59884e4a020903df34770ecb1d1c258194c /testsuite/tests
parentfed7136c597868d1c13b96837a2b64137a9ee65c (diff)
downloadhaskell-254bc3357b0de673b7873f1c4cf5dfc26d0bb5f2.tar.gz
A much nicer solution for typechecking ApplicativeDo
This patch improves the code for TcMatches.tcApplicativeStmts; see the suggestion in Trac #13242 comment:9. I now use (mapM goArg args) rather than a CPS-style fold. The result is less code, easier to understand, and automatically fixes the original problem in Trac #13242. See Note [ApplicativeDo and constraints].
Diffstat (limited to 'testsuite/tests')
0 files changed, 0 insertions, 0 deletions