Document foreign import prim in the user guide
[ghc-hetmet.git] / docs / users_guide / flags.xml
index 2cbe4fa..f96edbf 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>
            <entry><option>-fno-warn-unused-matches</option></entry>
          </row>
 
+         <row>
+           <entry><option>-fwarn-unused-do-bind</option></entry>
+           <entry>warn about do bindings that appear to throw away values of types other than <literal>()</literal></entry>
+           <entry>dynamic</entry>
+           <entry><option>-fno-warn-unused-do-bind</option></entry>
+         </row>
+
+         <row>
+           <entry><option>-fwarn-wrong-do-bind</option></entry>
+           <entry>warn about do bindings that appear to throw away monadic values that you should have bound instead</entry>
+           <entry>dynamic</entry>
+           <entry><option>-fno-warn-wrong-do-bind</option></entry>
+         </row>
+
          </tbody>
        </tgroup>
       </informaltable>