[commit: ghc] master: Final batch of monad-comprehension stuff (3bb700d)
Simon Peyton Jones
simonpj at microsoft.com
Wed May 4 17:39:17 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/3bb700d515de2405fa5db3326482e529f332d508
>---------------------------------------------------------------
commit 3bb700d515de2405fa5db3326482e529f332d508
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Wed May 4 15:44:42 2011 +0100
Final batch of monad-comprehension stuff
* Do-notation in arrows is marked with HsStmtContext = ArrowExpr
* tcMDoStmt (which was only used for arrows) is moved
to TcArrows, and renamed tcArrDoStmt
* Improved documentation in the user manual
* Lots of other minor changes
compiler/deSugar/Coverage.lhs | 6 +-
compiler/deSugar/DsListComp.lhs | 10 +-
compiler/hsSyn/HsExpr.lhs | 41 +++---
compiler/rename/RnExpr.lhs | 151 +++++++++++--------
compiler/typecheck/TcArrows.lhs | 86 +++++++++--
compiler/typecheck/TcMatches.lhs | 295 +++++++++++++++++-------------------
compiler/typecheck/TcPat.lhs | 26 ++--
compiler/typecheck/TcRnMonad.lhs | 5 -
compiler/typecheck/TcUnify.lhs | 2 +-
docs/users_guide/glasgow_exts.xml | 72 +++++++++-
10 files changed, 414 insertions(+), 280 deletions(-)
Diff suppressed because of size. To see it, use:
git show 3bb700d515de2405fa5db3326482e529f332d508
More information about the Cvs-ghc
mailing list