From 5e5018b65d98a090f069f3b861f30ffe3c196fd5 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 16 Apr 2010 20:54:16 +0000 Subject: [PATCH] Update the user guide so it talks about the newer "do rec" notation everywhere Some of the problems highlighted in trac #3968. --- docs/users_guide/flags.xml | 8 +++++++- docs/users_guide/glasgow_exts.xml | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/users_guide/flags.xml b/docs/users_guide/flags.xml index 7a52bdf..e7c237b 100644 --- a/docs/users_guide/flags.xml +++ b/docs/users_guide/flags.xml @@ -911,8 +911,14 @@ + + Enable recursive do notation. + dynamic + + + - Enable recursive do (mdo) notation. + Enable recursive do (mdo) notation. This is deprecated; please use recursive do notation instead. dynamic diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml index cb8e965..4b1c7a1 100644 --- a/docs/users_guide/glasgow_exts.xml +++ b/docs/users_guide/glasgow_exts.xml @@ -911,7 +911,7 @@ it, you can use the flag. - + The recursive do-notation @@ -1047,7 +1047,7 @@ It supports rebindable syntax (see ). - Mdo-notation (deprecated) + Mdo-notation (deprecated) GHC used to support the flag , which enabled the keyword mdo, precisely as described in @@ -1697,7 +1697,7 @@ and the fixity declaration applies wherever the binding is in scope. For example, in a let, it applies in the right-hand sides of other let-bindings and the body of the letC. Or, in recursive do -expressions (), the local fixity +expressions (), the local fixity declarations of a let statement scope over other statements in the group, just as the bound name does. -- 1.7.10.4