[[project @ 2003-03-06 12:03:34 by simonmar] simonmar**20030306120334 Split off the hierarchical libraries page, so the Hugs folks can use it too. ] { addfile ./ghc/docs/libraries.html.in hunk ./ghc/docs/index.html.in 33 - Hierarchical Libraries + Hierarchical Libraries hunk ./ghc/docs/index.html.in 36 - GHC comes with a large number of libraries, arranged - hierarchically. The libraries are divided into packages - - to use a package of libraries from GHC or GHCi just add the flag - -package <name> to the command line, where - <name> is the name of the package (see the - section on packages in the User's Guide for more information). The - base and haskell98 packages are always available, - so you don't need to use the -package flag to get these. -
- --
The libraries are divided into several packages.
+ +GHC/GHCi users note: most of the time, all the packages are + available without the need to use any additional command-line + options. The only time when this is not the case is when linking + a program on the command line, without using the --make + option: in this case you must list all the packages to link to by + adding the -package P flag (where P is the + package name) to the command line for each package. See the + User's Guide for more details.
+ ++