X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fusing.xml;h=478a6bc20e3f7f02d098f3e8642b6c4f72aa23e1;hb=1c83695b5b9ae3175c18908c1d58aeadb1f225ae;hp=65ca0acdf2d253d9bd6b3cbd328121a4d5ab575d;hpb=64385754043e6127fc2876ad9406b10125a030b9;p=ghc-hetmet.git diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml index 65ca0ac..478a6bc 100644 --- a/docs/users_guide/using.xml +++ b/docs/users_guide/using.xml @@ -844,7 +844,8 @@ ghc -c Foo.hs , , , - , and + , + , and . The following flags are simple ways to select standard “packages” of warnings: @@ -1000,6 +1001,20 @@ foreign import "&f" f :: FunPtr t + : + + + + Causes a warning to be emitted when an unlifted type + is bound in a way that looks lazy, e.g. + where (I# x) = .... Use + where !(I# x) = ... instead. This will be an + error, rather than a warning, in GHC 6.14. + + + + + :