Mention that generalised list comprehensions are enabled with -XTransformListComp
authorsimonpj@microsoft.com <unknown>
Fri, 5 Jun 2009 14:00:09 +0000 (14:00 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 5 Jun 2009 14:00:09 +0000 (14:00 +0000)
docs/users_guide/flags.xml
docs/users_guide/glasgow_exts.xml

index 2cbe4fa..978ddf7 100644 (file)
            </row>
            <row>
              <entry><option>-XTransformListComp</option></entry>
-             <entry>Enable <link linkend="generalised-list-comprehensions">transform list comprehensions</link>.</entry>
+             <entry>Enable <link linkend="generalised-list-comprehensions">generalised list comprehensions</link>.</entry>
              <entry>dynamic</entry>
              <entry><option>-XNoTransformListComp</option></entry>
            </row>
index ca08f58..a08ace9 100644 (file)
@@ -1008,6 +1008,7 @@ This name is not supported by GHC.
        paper <ulink url="http://research.microsoft.com/~simonpj/papers/list-comp">
          Comprehensive comprehensions: comprehensions with "order by" and "group by"</ulink>,
     except that the syntax we use differs slightly from the paper.</para>
+<para>The extension is enabled with the flag <option>-XTransformListComp</option>.</para>
 <para>Here is an example: 
 <programlisting>
 employees = [ ("Simon", "MS", 80)