Haskell Hierarchical Libraries

The libraries are divided into several packages:

base
the Prelude, and a large collection of useful libraries.
haskell98
Haskell 98 and FFI Standard Libraries.
network
networking support libraries.
haskell-src
manipulating Haskell source code.
readline
a library for interactively reading input from the console
unix
supplies POSIX functionality (not all platforms).
@HOpenGLHTMLStart@
OpenGL
3D rendering.
GLUT
the OpenGL utility toolkit.
@HOpenGLHTMLEnd@ @ObjectIOHTMLStart@
ObjectIO
GUI library.
@ObjectIOHTMLEnd@

Implementation-specific notes

GHC/GHCi
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.
Hugs
Hugs currently provides modules from the base, haskell98, network and haskell-src packages. These modules are always available, as a single hierarchy; Hugs does not use the package subdivision.