X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=inline;f=docs%2Fusers_guide%2Fusing.xml;h=22c886100f276ff6666d228d5502164b525ac7c0;hb=0656c72a8f4fda30c348bdf40449d105e4ce00ce;hp=be8232244bcab976ae5db065ce986e3d010f73cb;hpb=e21c922fcdd1dac193bd8ff5670787daa3c21a12;p=ghc-hetmet.git
diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml
index be82322..22c8861 100644
--- a/docs/users_guide/using.xml
+++ b/docs/users_guide/using.xml
@@ -1175,6 +1175,21 @@ foreign import "&f" f :: FunPtr t
+ :
+
+
+ Causes the compiler to emit a warning when a Prelude numeric
+ conversion converts a type T to the same type T; such calls
+ are probably no-ops and can be omitted. The functions checked for
+ are: toInteger,
+ toRational,
+ fromIntegral,
+ and realToFrac.
+
+
+
+
+ :