Skip to content
Snippets Groups Projects
Commit 3c006fd9 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1997-10-16 13:35:27 by simonm]

add a few more index entries.
parent 21e672ef
No related branches found
No related tags found
No related merge requests found
...@@ -421,6 +421,7 @@ percent in execution speed---you can give a ...@@ -421,6 +421,7 @@ percent in execution speed---you can give a
%* * %* *
\subsection[options-sanity]{Warnings and sanity-checking} \subsection[options-sanity]{Warnings and sanity-checking}
\index{sanity-checking options} \index{sanity-checking options}
\index{warnings}
%* * %* *
%************************************************************************ %************************************************************************
...@@ -460,6 +461,7 @@ the command line. ...@@ -460,6 +461,7 @@ the command line.
\item[\tr{-fwarn-name-shadowing}:] \item[\tr{-fwarn-name-shadowing}:]
\index{-fwarn-name-shadowing option} \index{-fwarn-name-shadowing option}
\index{shadowing, warning}
This option causes a warning to be emitted whenever an inner-scope This option causes a warning to be emitted whenever an inner-scope
value has the same name as an outer-scope value, i.e. the inner value value has the same name as an outer-scope value, i.e. the inner value
...@@ -472,6 +474,8 @@ definitions. ...@@ -472,6 +474,8 @@ definitions.
\item[\tr{-fwarn-overlapping-patterns}:] \item[\tr{-fwarn-overlapping-patterns}:]
\index{-fwarn-overlapping-patterns option} \index{-fwarn-overlapping-patterns option}
\index{overlapping patterns, warning}
\index{patterns, overlapping}
By default, the compiler will warn you if a set of patterns are either By default, the compiler will warn you if a set of patterns are either
incomplete (i.e., you're only matching on a subset of an algebraic incomplete (i.e., you're only matching on a subset of an algebraic
...@@ -492,6 +496,8 @@ is a programmer mistake/error, so this option is enabled by default. ...@@ -492,6 +496,8 @@ is a programmer mistake/error, so this option is enabled by default.
\item[\tr{-fwarn-incomplete-patterns}:] \item[\tr{-fwarn-incomplete-patterns}:]
\index{-fwarn-incomplete-patterns option} \index{-fwarn-incomplete-patterns option}
\index{incomplete patterns, warning}
\index{patterns, incomplete}
Similarly for incomplete patterns, the function \tr{g} will fail when Similarly for incomplete patterns, the function \tr{g} will fail when
applied to non-empty lists, so the compiler will emit a warning about applied to non-empty lists, so the compiler will emit a warning about
...@@ -499,6 +505,7 @@ this when this option is enabled. ...@@ -499,6 +505,7 @@ this when this option is enabled.
\item[\tr{-fwarn-missing-methods}:] \item[\tr{-fwarn-missing-methods}:]
\index{-fwarn-missing-methods option} \index{-fwarn-missing-methods option}
\index{methods, missing}
This option is on by default, and warns you whenever an instance This option is on by default, and warns you whenever an instance
declaration is missing one or more methods, and the corresponding declaration is missing one or more methods, and the corresponding
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment