Commit 8bf9fcc6 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Document -fwarn-lazy-unlifted-bindings

parent 64385754
......@@ -844,7 +844,8 @@ ghc -c Foo.hs</screen>
<option>-fwarn-missing-methods</option>, and
<option>-fwarn-lazy-unlifted-bindings</option>, and
<option>-fwarn-dodgy-foreign-imports</option>. The following
flags are
simple ways to select standard &ldquo;packages&rdquo; of warnings:
......@@ -999,6 +1000,20 @@ foreign import "&amp;f" f :: FunPtr t
<para>Causes a warning to be emitted when an unlifted type
is bound in a way that looks lazy, e.g.
<literal>where (I# x) = ...</literal>. Use
<literal>where !(I# x) = ...</literal> instead. This will be an
error, rather than a warning, in GHC 6.14.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment