Add warning for probable identities (fromIntegral and friends)
[ghc-hetmet.git] / docs / users_guide / flags.xml
index b80ada7..c24d021 100644 (file)
          </row>
 
           <row>
+            <entry><option>-fwarn-identities</option></entry>
+            <entry>warn about uses of Prelude numeric conversions that are probably
+                   the identity (and hence could be omitted)</entry>
+            <entry>dynamic</entry>
+            <entry><option>-fno-warn-identities</option></entry>
+          </row>
+
+          <row>
             <entry><option>-fwarn-implicit-prelude</option></entry>
             <entry>warn when the Prelude is implicitly imported</entry>
             <entry>dynamic</entry>
 
          <row>
            <entry><option>-fwarn-missing-import-lists</option></entry>
-           <entry>warn when explicit imports lack an import list</entry>
+           <entry>warn when an import declaration does not explicitly 
+                   list all the names brought into scope</entry>
            <entry>dynamic</entry>
            <entry><option>-fnowarn-missing-import-lists</option></entry>
          </row>