Commit 221859f1 authored by simonpj@microsoft.com's avatar simonpj@microsoft.com
Browse files

Remove erroneous requirement to import Control.Monad.Fix when using mdo

See Trac #1426
parent 23c11847
......@@ -750,13 +750,6 @@ The recursive version of the do-notation uses the keyword <literal>mdo</literal>
than <literal>do</literal>).
</para></listitem>
<listitem><para>
You should <literal>import Control.Monad.Fix</literal>.
(Note: Strictly speaking, this import is required only when you need to refer to the name
<literal>MonadFix</literal> in your program, but the import is always safe, and the programmers
are encouraged to always import this module when using the mdo-notation.)
</para></listitem>
<listitem><para>
As with other extensions, ghc should be given the flag <literal>-fglasgow-exts</literal>
</para></listitem>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment