Commit 09c814ec authored by Malcolm.Wallace@cs.york.ac.uk's avatar Malcolm.Wallace@cs.york.ac.uk
Browse files

document that -fglasgow-exts is needed for RULES to work

parent 33989e6e
......@@ -5378,7 +5378,9 @@ The programmer can specify rewrite rules as part of the source program
(in a pragma). GHC applies these rewrite rules wherever it can, provided (a)
the <option>-O</option> flag (<xref linkend="options-optimise"/>) is on,
and (b) the <option>-frules-off</option> flag
(<xref linkend="options-f"/>) is not specified.
(<xref linkend="options-f"/>) is not specified, and (c) the
<option>-fglasgow-exts</option> (<xref linkend="options-language"/>)
flag is active.
</para>
<para>
......
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