Commit 221859f1 authored by's avatar
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>).
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.)
As with other extensions, ghc should be given the flag <literal>-fglasgow-exts</literal>
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