From: erkok Date: Wed, 2 Oct 2002 02:04:44 +0000 (+0000) Subject: [project @ 2002-10-02 02:04:44 by erkok] X-Git-Tag: Approx_11550_changesets_converted~1594 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=e7a1fd1d75e7629b76d71a7083d7ab96e0f5a89c;p=ghc-hetmet.git [project @ 2002-10-02 02:04:44 by erkok] typos never end. --- diff --git a/ghc/docs/users_guide/glasgow_exts.sgml b/ghc/docs/users_guide/glasgow_exts.sgml index 5e480d8..ef2028c 100644 --- a/ghc/docs/users_guide/glasgow_exts.sgml +++ b/ghc/docs/users_guide/glasgow_exts.sgml @@ -2658,7 +2658,7 @@ As you can guess justOnes will evaluate to Just [1,1 -The MonadFix library introduces the MonadFix class. It's definition is: +The Control.Monad.Fix library introduces the MonadFix class. It's definition is: class Monad m => MonadFix m where @@ -2684,13 +2684,13 @@ than do). If you want to declare an instance of the MonadFix class for one of -your own monads, or you need to refer to the class name MonadFix in any other way (for instance in -writing a type constraint), then your program should import Control.Monad.MonadFix. +your own monads, or you need to refer to the class name MonadFix in any other way (for +instance when writing a type constraint), then your program should +import Control.Monad.MonadFix. Otherwise, you don't need to import any special libraries to use the mdo-notation. That is, as long as you only use the predefined instances mentioned above, the mdo-notation will -be automatically available. (Note: This differs from the Hugs implementation, where -MonadFix should always be imported.) To be on the safe side, of course, you can -simply import it in all cases. +be automatically available. +To be on the safe side, of course, you can simply import it in all cases. @@ -2700,11 +2700,10 @@ As with other extensions, ghc should be given the flag -fglasgow-exts -Historical note: The originial implementation of the mdo-notation, and most -of the existing documents, use the names -MonadRec for the class, and -Control.Monad.MonadRec for the library. These names -are no longer supported. +Historical note: The old implementation of the mdo-notation (and most +of the existing documents) used the name +MonadRec for the class and the corresponding library. +This name is no longer supported.