Index

Symbols

+r, GHCi options
+RTS, Setting RTS options on the command line
+s, GHCi options
+t, Using do-notation at the prompt, GHCi options
--install-signal-handlers
RTS option, Miscellaneous RTS options
--machine-readable
RTS option, RTS options to control the garbage collector
--RTS, Setting RTS options on the command line
--show-iface, Other options related to interface files
--verbose
ghc-pkg option, Package management (the ghc-pkg command)
-?, Package management (the ghc-pkg command)
RTS option, Setting RTS options on the command line
-A
RTS option, RTS options to control the garbage collector
-A<size> RTS option, Sooner: producing a program more quickly , Faster: producing a program that runs quicker
-auto, Profiling, Compiler options for profiling
-auto-all, Profiling, Compiler options for profiling
-B
RTS option, RTS options for hackers, debuggers, and over-interested souls
-C, Modes of operation, Batch compiler mode
-c, Modes of operation, Batch compiler mode, Options affecting linking
RTS option, RTS options to control the garbage collector
-caf-all, Rules for attributing costs, Compiler options for profiling
-cpp, Batch compiler mode, Options affecting the C pre-processor
-cpp option, Options affecting the C pre-processor
-cpp vs string gaps, CPP and string gaps
-Cs
RTS option, Using Concurrent Haskell
-D, Options affecting the C pre-processor
RTS option, RTS options for hackers, debuggers, and over-interested souls
-dcmm-lint, Checking for consistency
-dcore-lint, Warnings and sanity-checking, Checking for consistency
-dcore-lint option, When the compiler “does the wrong thing”
-ddump options, Dumping out compiler intermediate structures
-ddump-asm, Dumping out compiler intermediate structures
-ddump-bcos, Dumping out compiler intermediate structures
-ddump-cmm, Dumping out compiler intermediate structures
-ddump-cpranal, Dumping out compiler intermediate structures
-ddump-cse, Dumping out compiler intermediate structures
-ddump-deriv, Dumping out compiler intermediate structures
-ddump-ds, Dumping out compiler intermediate structures
-ddump-flatC, Dumping out compiler intermediate structures
-ddump-foreign, Dumping out compiler intermediate structures
-ddump-hi, Other options related to interface files
-ddump-hi-diffs, Other options related to interface files
-ddump-if-trace, Dumping out compiler intermediate structures
-ddump-inlinings, Dumping out compiler intermediate structures
-ddump-minimal-imports, Other options related to interface files
-ddump-occur-anal, Dumping out compiler intermediate structures
-ddump-opt-cmm, Dumping out compiler intermediate structures
-ddump-parsed, Dumping out compiler intermediate structures
-ddump-prep, Dumping out compiler intermediate structures
-ddump-rn, Dumping out compiler intermediate structures
-ddump-rn-trace, Dumping out compiler intermediate structures
-ddump-rules, Dumping out compiler intermediate structures
-ddump-simpl, Dumping out compiler intermediate structures
-ddump-simpl-iterations, Dumping out compiler intermediate structures
-ddump-simpl-phases, Dumping out compiler intermediate structures
-ddump-simpl-stats option, Dumping out compiler intermediate structures
-ddump-spec, Dumping out compiler intermediate structures
-ddump-splices, Dumping out compiler intermediate structures
-ddump-stg, Dumping out compiler intermediate structures
-ddump-stranal, Dumping out compiler intermediate structures
-ddump-tc, Dumping out compiler intermediate structures
-ddump-tc-trace, Dumping out compiler intermediate structures
-ddump-types, Dumping out compiler intermediate structures
-ddump-worker-wrapper, Dumping out compiler intermediate structures
-debug, Options affecting linking
-dfaststring-stats, Dumping out compiler intermediate structures
-dno-debug-output, Dumping out compiler intermediate structures
-dppr-debug, Dumping out compiler intermediate structures
-dppr-user-length, Dumping out compiler intermediate structures
-dshow-passes, Dumping out compiler intermediate structures
-dshow-rn-stats, Dumping out compiler intermediate structures
-dstg-lint, Checking for consistency
-dsuppress-coercions, Dumping out compiler intermediate structures
-dsuppress-module-prefixes, Dumping out compiler intermediate structures
-dsuppress-uniques, Dumping out compiler intermediate structures
-dverbose-core2core, Dumping out compiler intermediate structures
-dverbose-stg2stg, Dumping out compiler intermediate structures
-dylib-install-name, Options affecting linking
-dynamic, Options affecting linking
-dynload, Options affecting linking
-E, Modes of operation, Batch compiler mode
-E option, Batch compiler mode
-eventlog, Options affecting linking
-f, Package management (the ghc-pkg command)
-F, Options affecting a Haskell pre-processor
RTS option, RTS options to control the garbage collector
-f* options (GHC), -f*: platform-independent flags
-fasm, Options affecting code generation
-fbyte-code, Options affecting code generation
-feager-blackholing, Compile-time options for SMP parallelism
-ferror-spans, Help and verbosity options
-fexcess-precision, -f*: platform-independent flags
-fext-core, Generating and compiling External Core Files
-fforce-recomp, The recompilation checker
-fglasgow-exts, Language options
-fignore-asserts, -f*: platform-independent flags, Assertions
-fignore-interface-pragmas, -f*: platform-independent flags
-fliberate-case, -f*: platform-independent flags
-fllvm, Options affecting code generation
-fno-* options (GHC), -f*: platform-independent flags
-fno-code, Options affecting code generation
-fno-cse, -f*: platform-independent flags
-fno-embed-manifest, Options affecting linking
-fno-float-in, -f*: platform-independent flags
-fno-force-recomp, The recompilation checker
-fno-full-laziness, -f*: platform-independent flags
-fno-gen-manifest, Options affecting linking
-fno-implicit-import-qualified, Qualified names
-fno-print-bind-result, Using do-notation at the prompt
-fno-shared-implib, Options affecting linking
-fno-specialise, -f*: platform-independent flags
-fno-state-hack, -f*: platform-independent flags
-fno-strictness, -f*: platform-independent flags
-fobject-code, Options affecting code generation
-fomit-interface-pragmas, -f*: platform-independent flags
-fPIC, Options affecting code generation
-fprint-bind-result, Using do-notation at the prompt
-framework, Options affecting linking
-framework-path, Options affecting linking
-fspec-constr, -f*: platform-independent flags
-fstatic-argument-transformation, -f*: platform-independent flags
-funbox-strict-fields, -f*: platform-independent flags
-funfolding-creation-threshold, -f*: platform-independent flags
-funfolding-use-threshold, -f*: platform-independent flags
-funfolding-use-threshold0 option, Smaller: producing a program that is smaller
-fvia-C, Options affecting code generation
-fwarn-deprecated-flags, Warnings and sanity-checking
-fwarn-dodgy-exports, Warnings and sanity-checking
-fwarn-dodgy-foreign-imports, Warnings and sanity-checking
-fwarn-dodgy-imports, Warnings and sanity-checking
-fwarn-duplicate-exports, Warnings and sanity-checking
-fwarn-hi-shadowing, Warnings and sanity-checking
-fwarn-implicit-prelude, Warnings and sanity-checking
-fwarn-incomplete-patterns, Warnings and sanity-checking
-fwarn-incomplete-record-updates, Warnings and sanity-checking
-fwarn-lazy-unlifted-bindings, Warnings and sanity-checking
-fwarn-missing-fields, Warnings and sanity-checking
-fwarn-missing-methods, Warnings and sanity-checking
-fwarn-missing-signatures, Warnings and sanity-checking
-fwarn-missing-signatures option, Faster: producing a program that runs quicker
-fwarn-monomorphism-restriction, Warnings and sanity-checking
-fwarn-name-shadowing, Warnings and sanity-checking
-fwarn-orphans, Warnings and sanity-checking
-fwarn-overlapping-patterns, Warnings and sanity-checking
-fwarn-tabs, Warnings and sanity-checking
-fwarn-type-defaults, Warnings and sanity-checking
-fwarn-unrecognised-pragmas, Warnings and sanity-checking
-fwarn-unused-binds, Warnings and sanity-checking
-fwarn-unused-do-bind, Warnings and sanity-checking
-fwarn-unused-imports, Warnings and sanity-checking
-fwarn-unused-matches, Warnings and sanity-checking
-fwarn-warnings-deprecations, Warnings and sanity-checking
-fwarn-wrong-do-bind, Warnings and sanity-checking
-G
RTS option, RTS options to control the garbage collector
-G RTS option, Thriftier: producing a program that gobbles less heap space
-H, Help and verbosity options, Sooner: producing a program more quickly
RTS option, RTS options to control the garbage collector
-h<break-down>, hp2ps––heap profile to PostScript
-hb
RTS option, RTS options for heap profiling
-hc
RTS option, RTS options for heap profiling
-hC
RTS option, RTS options for heap profiling
-hcsuf, Redirecting the compilation output(s)
-hd
RTS option, RTS options for heap profiling
-hi-diffs option, When your program “does the wrong thing”
-hide-package, Using Packages
-hidir, Redirecting the compilation output(s)
-hisuf, Redirecting the compilation output(s)
-hm
RTS option, RTS options for heap profiling
-hr
RTS option, RTS options for heap profiling
-hT
RTS option, RTS options for profiling
-hy
RTS option, RTS options for heap profiling
-I, Options affecting the C pre-processor
RTS option, RTS options to control the garbage collector
-i, RTS options for heap profiling
-idirs , The search path
-ignore-dot-ghci, The .ghci file
-ignore-package, Using Packages
-ignore-scc, Compiler options for profiling
-k
RTS option, RTS options to control the garbage collector
-K
RTS option, RTS options to control the garbage collector
-keep-hc-file, Keeping Intermediate Files
-keep-hc-files, Keeping Intermediate Files
-keep-llvm-file, Keeping Intermediate Files
-keep-llvm-files, Keeping Intermediate Files
-keep-raw-s-file, Keeping Intermediate Files
-keep-raw-s-files, Keeping Intermediate Files
-keep-s-file, Keeping Intermediate Files
-keep-s-files, Keeping Intermediate Files
-keep-tmp-files, Keeping Intermediate Files
-l, Options affecting linking
RTS option, Tracing
-L, Options affecting linking
RTS option, RTS options for heap profiling
-m
RTS option, RTS options to control the garbage collector
-M
RTS option, RTS options to control the garbage collector
-m* options, Platform-specific Flags
-M<size> RTS option, Faster: producing a program that runs quicker
-main-is, Options affecting linking
-monly-N-regs option (iX86 only), Platform-specific Flags
-n, Help and verbosity options
-no-auto-link-packages, Using Packages
-no-hs-main, Options affecting linking, Using your own main()
-no-user-package-conf, Package Databases
-Nx
RTS option, RTS options for SMP parallelism
-O, FAQ and Things To Watch Out For, Assertions
-o, Redirecting the compilation output(s)
-O option, -O*: convenient “packages” of optimisation flags.
-O* not specified, -O*: convenient “packages” of optimisation flags.
-O0, -O*: convenient “packages” of optimisation flags.
-O1 option, -O*: convenient “packages” of optimisation flags.
-O2 option, -O*: convenient “packages” of optimisation flags.
-odir, Redirecting the compilation output(s)
-Ofile <file> option, -O*: convenient “packages” of optimisation flags.
-ohi, Redirecting the compilation output(s)
-opta, Forcing options to a particular phase
-optc, Forcing options to a particular phase
-optdll, Forcing options to a particular phase
-optF, Forcing options to a particular phase
-optL, Forcing options to a particular phase
-optl, Forcing options to a particular phase
-optlc, Forcing options to a particular phase
-optlo, Forcing options to a particular phase
-optm, Forcing options to a particular phase
-optP, Forcing options to a particular phase
-optwindres, Forcing options to a particular phase
-osuf, Redirecting the compilation output(s), Using Template Haskell with Profiling
-outputdir, Redirecting the compilation output(s)
-p, Time and allocation profiling
RTS option, Profiling
-P, Cost centres and cost-centre stacks, Time and allocation profiling
-pa, Time and allocation profiling
-package, Using Packages , Options affecting linking
-package-conf, Package Databases, Package management (the ghc-pkg command)
-package-id, Using Packages
-package-name, Using Packages
-pgma, Replacing the program for one or more phases, Replacing phases
-pgmc, Replacing the program for one or more phases, Replacing phases
-pgmdll, Replacing the program for one or more phases, Replacing phases
-pgmF, Replacing the program for one or more phases, Replacing phases
-pgmL, Replacing the program for one or more phases, Replacing phases
-pgml, Replacing the program for one or more phases, Replacing phases
-pgmlc, Replacing the program for one or more phases, Replacing phases
-pgmlo, Replacing the program for one or more phases, Replacing phases
-pgmm, Replacing the program for one or more phases
-pgmP, Replacing the program for one or more phases, Replacing phases
-pgms, Replacing the program for one or more phases
-pgmwindres, Replacing the program for one or more phases
-prof, Profiling, Compiler options for profiling, Using Template Haskell with Profiling
-qa
RTS option, RTS options for SMP parallelism
-qbRTS option, RTS options to control the garbage collector
-qgRTS option, RTS options to control the garbage collector
-qm
RTS option, RTS options for SMP parallelism
-qw
RTS option, RTS options for SMP parallelism
-r
RTS option, RTS options for hackers, debuggers, and over-interested souls
-r RTS option, Using “ticky-ticky” profiling (for implementors)
-read-dot-ghci, The .ghci file
-Rghc-timing, Help and verbosity options
-RTS, Setting RTS options on the command line
-rtsopts, Options affecting linking
-S, Modes of operation, Batch compiler mode
RTS option, RTS options to control the garbage collector
-s
RTS option, RTS options to control the garbage collector
-S RTS option, Faster: producing a program that runs quicker, Thriftier: producing a program that gobbles less heap space
-shared, Options affecting linking
-split-objs, Options affecting linking
-static, Options affecting linking
-stubdir, Redirecting the compilation output(s)
-t
RTS option, RTS options to control the garbage collector
-threaded, Options affecting linking
-tmpdir, Redirecting temporary files
-tmpdir <dir> option, Redirecting temporary files
-U, Options affecting the C pre-processor
-V, Modes of operation, Package management (the ghc-pkg command)
RTS option, Miscellaneous RTS options, Time and allocation profiling
-v, Help and verbosity options, Sooner: producing a program more quickly
ghc-pkg option, Package management (the ghc-pkg command)
RTS option, Tracing
-w, Warnings and sanity-checking
-W option, Warnings and sanity-checking
-Wall, Warnings and sanity-checking
-Werror, Warnings and sanity-checking
-with-rtsopts, Options affecting linking
-Wwarn, Warnings and sanity-checking
-x, Overriding the default behaviour for a file
-xc
RTS option, RTS options for hackers, debuggers, and over-interested souls, Time and allocation profiling
-XForeignFunctionInterface, Foreign function interface (FFI)
-XIncoherentInstances , Overlapping instances
-xm
RTS option, Miscellaneous RTS options
-XMonoPatBinds, Monomorphic pattern bindings
-XNewQualifiedOperators, New qualified operator syntax
-XNoImplicitPrelude option, Rebindable syntax and the implicit Prelude import, When the compiler “does the wrong thing”
-XNoMonomorphismRestriction, Switching off the dreaded Monomorphism Restriction
-XNoMonoPatBinds, Monomorphic pattern bindings
-XNoNPlusKPatterns, n+k patterns
-XOverlappingInstances , Overlapping instances
-xt
RTS option, RTS options for heap profiling
-XTemplateHaskell, Syntax
-XUndecidableInstances, Undecidable instances
-XUnicodeSyntax, Unicode syntax
-Z
RTS option, RTS options for hackers, debuggers, and over-interested souls
.ghci
file, The .ghci file
.hc files, saving, Keeping Intermediate Files
.hi files, Output files
.ll files, saving, Keeping Intermediate Files
.o files, Output files
.s files, saving, Keeping Intermediate Files
:, GHCi commands
:!, GHCi commands
:?, GHCi commands
:abandon, GHCi commands
:add, GHCi commands
:back, GHCi commands
:break, GHCi commands
:browse, GHCi commands
:cd, GHCi commands
:cmd, GHCi commands
:continue, GHCi commands
:def, GHCi commands
:delete, GHCi commands
:edit, GHCi commands
:etags, GHCi commands
:force, GHCi commands
:forward, GHCi commands
:help, GHCi commands
:history, GHCi commands
:info, GHCi commands
:kind, GHCi commands
:load, Loading source files, GHCi commands
:main, GHCi commands
:module, GHCi commands
:print, GHCi commands
:quit, GHCi commands
:reload, Making changes and recompilation, GHCi commands
:run, GHCi commands
:set, GHCi commands, The :set command
:set args, GHCi commands
:set prog, GHCi commands
:show, GHCi commands
:show bindings, GHCi commands
:show breaks, GHCi commands
:show context, GHCi commands
:show languages, GHCi commands
:show modules, GHCi commands
:show packages, GHCi commands
:sprint, GHCi commands
:step, GHCi commands
:trace, GHCi commands
:type, GHCi commands
:undef, GHCi commands
:unset, GHCi commands
__GLASGOW_HASKELL__, GHC version numbering policy, Options affecting the C pre-processor
__PARALLEL_HASKELL__, Options affecting the C pre-processor
–shared, Creating a DLL
––--show-iface, Modes of operation
––auto-ghci-libs, Package management (the ghc-pkg command)
––force , Package management (the ghc-pkg command)
––global, Package management (the ghc-pkg command)
––help, Modes of operation, Package management (the ghc-pkg command)
––info, Modes of operation
––interactive, Invoking GHCi
––make, Modes of operation, Using ghc ––make
––numeric-version, Modes of operation
––print-libdir, Modes of operation
––supported-extensions, Modes of operation
––user, Package management (the ghc-pkg command)
––version, Modes of operation, Package management (the ghc-pkg command)

B

Bang patterns, Bang patterns
binds, unused, Warnings and sanity-checking
bugs
reporting, Reporting bugs in GHC

C

C calls, function headers, Using header files
C pre-processor options, Options affecting the C pre-processor
CAFs
in GHCi, GHCi options
category
package specification, InstalledPackageInfo: a package specification
cc-options
package specification, InstalledPackageInfo: a package specification
Char
size of, GHC's interpretation of undefined behaviour in Haskell 98
code coverage, Observing Code Coverage
command-line
arguments, Command-line arguments
compacting garbage collection, RTS options to control the garbage collector
compiled code
in GHCi, Loading compiled code
compiler problems, When the compiler “does the wrong thing”
compiling faster, Sooner: producing a program more quickly
Concurrent Haskell
using, Using Concurrent Haskell
CONLIKE, CONLIKE modifier
consistency checks, Checking for consistency
Constant Applicative Form (see CAFs)
constructor fields, strict, -f*: platform-independent flags
copyright
package specification, InstalledPackageInfo: a package specification
CORE pragma, CORE pragma
Core syntax, how to read, How to read Core syntax (from some -ddump flags)
core, annotation, CORE pragma
cost centres
automatically inserting, Compiler options for profiling
cost-centre profiling, Profiling
cpp, pre-processing with, Options affecting the C pre-processor
Creating a Win32 DLL, Creating a DLL

D

debugger
in GHCi, The GHCi Debugger
debugging options (for GHC), Debugging the compiler
defaulting mechanism, warning, Warnings and sanity-checking
dependencies in Makefiles, Dependency generation
dependency-generation mode, Modes of operation
depends
package specification, InstalledPackageInfo: a package specification
DEPRECATED, WARNING and DEPRECATED pragmas
deprecated-flags, Warnings and sanity-checking
deprecations, Warnings and sanity-checking
description
package specification, InstalledPackageInfo: a package specification
DLL-creation mode, Modes of operation
DLLs, Win32, Building and using Win32 DLLs
do binding, apparently erroneous, Warnings and sanity-checking
do binding, unused, Warnings and sanity-checking
do-notation
in GHCi, Using do-notation at the prompt
dumping GHC intermediates, Dumping out compiler intermediate structures
duplicate exports, warning, Warnings and sanity-checking
dynamic
options, Setting GHC command-line options in GHCi, Static, Dynamic, and Mode options
Dynamic libraries
using, Using shared libraries
Dynamic link libraries, Win32, Building and using Win32 DLLs

E

encoding, Haskell source files
Environment variable
GHC_PACKAGE_PATH, The GHC_PACKAGE_PATH environment variable
environment variable
for setting RTS options, Setting RTS options with the GHCRTS environment variable
eval mode, Modes of operation
eventlog files, Tracing
events, Tracing
export lists, duplicates, Warnings and sanity-checking
exposed
package specification, InstalledPackageInfo: a package specification
exposed-modules
package specification, InstalledPackageInfo: a package specification
extended list comprehensions, Generalised (SQL-Like) List Comprehensions
extensions
options controlling, Language options
extensions, GHC, GHC Language Features
extra-libraries
package specification, InstalledPackageInfo: a package specification

I

id
package specification, InstalledPackageInfo: a package specification
idle GC, RTS options to control the garbage collector
implicit parameters, Summary of stolen syntax
implicit prelude, warning, Warnings and sanity-checking
import-dirs
package specification, InstalledPackageInfo: a package specification
importing, hi-boot files, How to compile mutually recursive modules
imports, unused, Warnings and sanity-checking
improvement, code, Optimisation (code improvement)
include-dirs
package specification, InstalledPackageInfo: a package specification
includes
package specification, InstalledPackageInfo: a package specification
incomplete patterns, warning, Warnings and sanity-checking
incomplete record updates, warning, Warnings and sanity-checking
INLINE, INLINE pragma
INLINE pragma, INLINE pragma
inlining, controlling, -f*: platform-independent flags
installer detection, Options affecting linking
Int
size of, GHC's interpretation of undefined behaviour in Haskell 98
interactive (see GHCi)
interactive mode, Modes of operation
interface files, Output files
interface files, finding them, The search path
interface files, options, Other options related to interface files
intermediate code generation, Generating and compiling External Core Files
intermediate files, saving, Keeping Intermediate Files
intermediate passes, output, Dumping out compiler intermediate structures
interpreter (see GHCi)
invoking
GHCi, Invoking GHCi
it, The it variable

L

language
option, Language options
LANGUAGE
pragma, LANGUAGE pragma
language, GHC, GHC Language Features
Latin-1, Haskell source files
ld options, Options affecting linking
ld-options
package specification, InstalledPackageInfo: a package specification
lhs suffix, Meaningful file suffixes
libdir, Modes of operation
libraries
with GHCi, Extra libraries
library-dirs
package specification, InstalledPackageInfo: a package specification
license-file
package specification, InstalledPackageInfo: a package specification
LINE
pragma, LINE pragma
linker options, Options affecting linking
linking Haskell libraries with foreign code, Options affecting linking
lint, Checking for consistency
list comprehensions
generalised, Generalised (SQL-Like) List Comprehensions
parallel, Parallel List Comprehensions

M

machine-specific options, Platform-specific Flags
mailing lists, Glasgow Haskell, Meta-information: Web sites, mailing lists, etc.
maintainer
package specification, InstalledPackageInfo: a package specification
make, Using make
make and recompilation, Filenames and separate compilation
make mode, Modes of operation
Makefile dependencies, Dependency generation
Makefiles
avoiding, Using ghc ––make
MallocFailHook, “Hooks” to change RTS behaviour
manifest, Options affecting linking
matches, unused, Warnings and sanity-checking
mdo, Summary of stolen syntax
memory, using less heap, Thriftier: producing a program that gobbles less heap space
methods, missing, Warnings and sanity-checking
missing fields, warning, Warnings and sanity-checking
missing methods, warning, Warnings and sanity-checking
mode
options, Static, Dynamic, and Mode options
module system, recursion, How to compile mutually recursive modules
modules
and filenames, Modules vs. filenames
monomorphism restriction, warning, Warnings and sanity-checking
multicore, Options affecting linking
multiprocessor, Options affecting linking

N

name
package specification, InstalledPackageInfo: a package specification
native-code generator, Batch compiler mode
NOINLINE, NOINLINE pragma
NOTINLINE, NOINLINE pragma

P

package-url
package specification, InstalledPackageInfo: a package specification
packages, Packages
building, Building a package from Haskell source
management, Package management (the ghc-pkg command)
using, Using Packages
with GHCi, Packages
parallel list comprehensions, Parallel List Comprehensions
parallelism, Options affecting linking, Using SMP parallelism, Concurrent and Parallel Haskell
parser generator for Haskell, “Yacc for Haskell”: happy
Pattern guards (Glasgow extension), Pattern guards
patterns, incomplete, Warnings and sanity-checking
patterns, overlapping, Warnings and sanity-checking
phases, changing, Replacing the program for one or more phases
platform-specific options, Platform-specific Flags
postscript, from heap profiles, hp2ps––heap profile to PostScript
pragma, Pragmas
LANGUAGE, LANGUAGE pragma
LINE, LINE pragma
OPTIONS_GHC, OPTIONS_GHC pragma
pragma, CORE, CORE pragma
pragma, RULES, Rewrite rules
pragma, SPECIALIZE, SPECIALIZE pragma
pragmas, Warnings and sanity-checking
pre-processing: cpp, Options affecting the C pre-processor
pre-processing: custom, Options affecting a Haskell pre-processor
Pre-processor options, Options affecting a Haskell pre-processor
problems, What to do when something goes wrong
problems running your program, When your program “does the wrong thing”
problems with the compiler, When the compiler “does the wrong thing”
proc, Summary of stolen syntax
profiling, Profiling
options, Compiler options for profiling
ticky ticky, RTS options for hackers, debuggers, and over-interested souls
with Template Haskell, Using Template Haskell with Profiling
profiling, ticky-ticky, Using “ticky-ticky” profiling (for implementors)
prompt
GHCi, Introduction to GHCi

Q

quasi-quotation, Summary of stolen syntax

S

sanity-checking options, Warnings and sanity-checking
search path, The search path
segmentation fault, When your program “does the wrong thing”
separate compilation, Using ghc ––make, Filenames and separate compilation
shadowing
interface files, Warnings and sanity-checking
shadowing, warning, Warnings and sanity-checking
Shared libraries
using, Using shared libraries
shell commands
in GHCi, GHCi commands
Show class, Type defaulting in GHCi
smaller programs, how to produce, Smaller: producing a program that is smaller
SMP, Options affecting linking, Using SMP parallelism, Parallel Haskell
SOURCE, SOURCE pragma
source-file options, Command line options in source files
space-leaks, avoiding, Thriftier: producing a program that gobbles less heap space
SPECIALIZE pragma, Faster: producing a program that runs quicker, SPECIALIZE pragma, SPECIALIZE instance pragma
specifying your own main function, Options affecting linking
sql, Generalised (SQL-Like) List Comprehensions
stability
package specification, InstalledPackageInfo: a package specification
stack, maximum size, RTS options to control the garbage collector
stack, minimum size, RTS options to control the garbage collector
StackOverflowHook, “Hooks” to change RTS behaviour
startup
files, GHCi, The .ghci file
statements
in GHCi, Using do-notation at the prompt
static
options, Setting GHC command-line options in GHCi, Static, Dynamic, and Mode options
strict constructor fields, -f*: platform-independent flags
string gaps vs -cpp, CPP and string gaps
structure, command-line, Command-line arguments
suffixes, file, Meaningful file suffixes

U

Unboxed types (Glasgow extension), Unboxed types
unfolding, controlling, -f*: platform-independent flags
unicode, Haskell source files
UNPACK, UNPACK pragma
unregisterised compilation, Unregisterised compilation
unused binds, warning, Warnings and sanity-checking
unused do binding, warning, Warnings and sanity-checking
unused imports, warning, Warnings and sanity-checking
unused matches, warning, Warnings and sanity-checking
using GHC, Using GHC
UTF-8, Haskell source files
utilities, Haskell, Other Haskell utility programs