diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2012-06-12 08:42:36 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2012-06-12 08:42:36 +0100 |
commit | 4f8e86b44ecc31056d0bd7af325b9bb239ddf7a0 (patch) | |
tree | 757ef6b9fc8fc1d38580dda2c2aba7eb142e276b /docs/comm | |
parent | ad6af5fc6db334a373ef3b7cca72143a8bf6b459 (diff) | |
download | haskell-4f8e86b44ecc31056d0bd7af325b9bb239ddf7a0.tar.gz |
Revive 'mdo' expressions, per discussion in Trac #4148
Summary:
- mdo expressions are enabled by RecursiveDo pragma
- mdo expressions perform full segmentation
- 'rec' groups inside 'do' are changed so they do *not*
perform any segmentation.
- Both 'mdo' and 'rec' are enabled by 'RecursiveDo'
'DoRec' is deprecated in favour of 'RecursiveDo'
(The 'rec' keyword is also enabled by 'Arrows', as now.)
Thanks to Levent for doing all the work
Diffstat (limited to 'docs/comm')
-rw-r--r-- | docs/comm/genesis/modules.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/comm/genesis/modules.html b/docs/comm/genesis/modules.html index de59cce6d3..10cd7a8490 100644 --- a/docs/comm/genesis/modules.html +++ b/docs/comm/genesis/modules.html @@ -110,7 +110,7 @@ identifiers, expressions, rules, and their operations.</strong> </ul></tt> <p><li> <strong>That is the end of the infrastructure. Now we get the - main layer of mdoules that perform useful work.</strong> + main layer of modules that perform useful work.</strong> <tt><ul> <p><li> |