Support for -fwarn-unused-do-bind and -fwarn-wrong-do-bind, as per #3263
[ghc-hetmet.git] / docs / users_guide / flags.xml
index 978ddf7..f96edbf 100644 (file)
            <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>