document that -fglasgow-exts is needed for RULES to work
authorMalcolm.Wallace@cs.york.ac.uk <unknown>
Wed, 12 Jul 2006 09:39:07 +0000 (09:39 +0000)
committerMalcolm.Wallace@cs.york.ac.uk <unknown>
Wed, 12 Jul 2006 09:39:07 +0000 (09:39 +0000)
docs/users_guide/glasgow_exts.xml

index 319104e..3801f96 100644 (file)
@@ -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>