Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
8bf9fcc6
Commit
8bf9fcc6
authored
Jun 05, 2009
by
Ian Lynagh
Browse files
Document -fwarn-lazy-unlifted-bindings
parent
64385754
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/users_guide/using.xml
View file @
8bf9fcc6
...
...
@@ -844,7 +844,8 @@ ghc -c Foo.hs</screen>
<option>
-fwarn-deprecated-flags
</option>
,
<option>
-fwarn-duplicate-exports
</option>
,
<option>
-fwarn-missing-fields
</option>
,
<option>
-fwarn-missing-methods
</option>
, and
<option>
-fwarn-missing-methods
</option>
,
<option>
-fwarn-lazy-unlifted-bindings
</option>
, and
<option>
-fwarn-dodgy-foreign-imports
</option>
. The following
flags are
simple ways to select standard
“
packages
”
of warnings:
...
...
@@ -999,6 +1000,20 @@ foreign import "&f" f :: FunPtr t
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-fwarn-lazy-unlifted-bindings
</option>
:
</term>
<listitem>
<indexterm><primary><option>
-fwarn-lazy-unlifted-bindings
</option></primary>
</indexterm>
<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.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>
-fwarn-duplicate-exports
</option>
:
</term>
<listitem>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment