User's guide for GHC 7.8.2 covering GHCi, compiling programs, command-line options, packages, profiling and language features.
This is the user's guide for The Glorious Glasgow Haskell Compilation System (GHC), version 7.8.2, written by The GHC Team. It explains how to obtain GHC, how to use the interactive environment GHCi, how to use runghc, and how to compile programs with GHC.
The guide also covers the options overview and flag reference, package management with the ghc-pkg command, profiling and code coverage with hp2ps and the hpc toolkit, advice on producing programs faster or smaller, and the language features and extensions supported by GHC 7.8.2. Release notes for versions 7.8.1 and 7.8.2, including known bugs, are included.
| Version | 7.8.2 |
|---|---|
| Code generation backends | Native code generator (-fasm), LLVM code generator (-fllvm), C code generator (-fvia-C), unregisterised compilation |
| Package management command | ghc-pkg |
| Heap profile tool | hp2ps |
| Code coverage toolkit | hpc |
It covers version 7.8.2 of The Glorious Glasgow Haskell Compilation System, and also includes release notes for version 7.8.1.
The guide was written by The GHC Team, dated April 11, 2014.
Yes, it has a chapter on using GHCi that covers loading source files, interactive evaluation at the prompt, the GHCi debugger, invoking GHCi and GHCi commands.
The guide contains a section on reporting bugs in GHC within its introduction.