summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm.Wallace@cs.york.ac.uk <unknown>2006-07-12 09:39:07 +0000
committerMalcolm.Wallace@cs.york.ac.uk <unknown>2006-07-12 09:39:07 +0000
commit09c814ec2c4fa854165f98aff4d29a69cafdc92a (patch)
tree202d0ba5733f959e35e50fec10690bd04e879ffc
parent33989e6eb745ca9d54ba638bc89bec7660cba4be (diff)
downloadhaskell-09c814ec2c4fa854165f98aff4d29a69cafdc92a.tar.gz
document that -fglasgow-exts is needed for RULES to work
-rw-r--r--docs/users_guide/glasgow_exts.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index 319104e108..3801f966f3 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -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>