Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gesh
GHC
Commits
3c006fd9
Commit
3c006fd9
authored
27 years ago
by
Simon Marlow
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1997-10-16 13:35:27 by simonm]
add a few more index entries.
parent
21e672ef
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ghc/docs/users_guide/how_to_run.lit
+7
-0
7 additions, 0 deletions
ghc/docs/users_guide/how_to_run.lit
with
7 additions
and
0 deletions
ghc/docs/users_guide/how_to_run.lit
+
7
−
0
View file @
3c006fd9
...
...
@@ -421,6 +421,7 @@ percent in execution speed---you can give a
%* *
\subsection[options-sanity]{Warnings and sanity-checking}
\index{sanity-checking options}
\index{warnings}
%* *
%************************************************************************
...
...
@@ -460,6 +461,7 @@ the command line.
\item[\tr{-fwarn-name-shadowing}:]
\index{-fwarn-name-shadowing option}
\index{shadowing, warning}
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
...
...
@@ -472,6 +474,8 @@ definitions.
\item[\tr{-fwarn-overlapping-patterns}:]
\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
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.
\item[\tr{-fwarn-incomplete-patterns}:]
\index{-fwarn-incomplete-patterns option}
\index{incomplete patterns, warning}
\index{patterns, incomplete}
Similarly for incomplete patterns, the function \tr{g} will fail when
applied to non-empty lists, so the compiler will emit a warning about
...
...
@@ -499,6 +505,7 @@ this when this option is enabled.
\item[\tr{-fwarn-missing-methods}:]
\index{-fwarn-missing-methods option}
\index{methods, missing}
This option is on by default, and warns you whenever an instance
declaration is missing one or more methods, and the corresponding
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment