<LI>
<P>
- <B>Hierarchical Libraries</B>
+ <B><A HREF="libraries.html">Hierarchical Libraries</A></B>
</P>
<P>
- GHC comes with a large number of libraries, arranged
- hierarchically. The libraries are divided into <EM>packages</EM> -
- to use a package of libraries from GHC or GHCi just add the flag
- <TT>-package <name></TT> to the command line, where
- <TT><name></TT> is the name of the package (see the
- section on packages in the User's Guide for more information). The
- <TT>base</TT> and <TT>haskell98</TT> packages are always available,
- so you don't need to use the <TT>-package</TT> flag to get these.
- </P>
-
- <P>
- <UL>
- <LI>
- <A HREF="base/index.html"><TT>base</TT></a>:
- the Prelude, and a large collection of useful libraries.
- </LI>
- <LI>
- <A HREF="haskell98/index.html"><TT>haskell98</TT></a>:
- Haskell 98 Standard Libraries.
- </LI>
- <LI>
- <A HREF="network/index.html"><TT>network</TT></a>:
- networking support libraries.
- </LI>
- <LI>
- <A HREF="haskell-src/index.html"><TT>haskell-src</TT></a>:
- manipulating Haskell source code.
- </LI>
-@HOpenGLHTMLStart@
- <LI>
- <A HREF="OpenGL/index.html"><TT>OpenGL</TT></a>:
- 3D rendering.
- </LI>
- <LI>
- <A HREF="GLUT/index.html"><TT>GLUT</TT></a>:
- the OpenGL utility toolkit.
- </LI>
-@HOpenGLHTMLEnd@
-@ObjectIOHTMLStart@
- <LI>
- <A HREF="ObjectIO/index.html"><TT>ObjectIO</TT></a>: GUI library.
- </LI>
-@ObjectIOHTMLEnd@
- </UL>
+ Documentation for the hierarchical libraries that come with GHC.
</P>
</LI>
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+ <HEAD>
+ <TITLE>Haskell Hierarchical Libraries</TITLE>
+ </HEAD>
+
+ <BODY>
+ <H1>Haskell Hierarchical Libraries</H1>
+
+ <P>The libraries are divided into several <EM>packages</EM>.</P>
+
+ <P>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 <tt>--make</tt>
+ option: in this case you must list all the packages to link to by
+ adding the <tt>-package P</tt> flag (where <tt>P</tt> is the
+ package name) to the command line for each package. See the
+ User's Guide for more details.</P>
+
+ <P>
+ <UL>
+ <LI>
+ <A HREF="base/index.html"><TT>base</TT></a>:
+ the Prelude, and a large collection of useful libraries.
+ </LI>
+ <LI>
+ <A HREF="haskell98/index.html"><TT>haskell98</TT></a>:
+ Haskell 98 and FFI Standard Libraries.
+ </LI>
+ <LI>
+ <A HREF="network/index.html"><TT>network</TT></a>:
+ networking support libraries.
+ </LI>
+ <LI>
+ <A HREF="haskell-src/index.html"><TT>haskell-src</TT></a>:
+ manipulating Haskell source code.
+ </LI>
+ <LI>
+ <A HREF="readline/index.html"><TT>readline</TT></a>:
+ a library for interactively reading input from the console
+ </LI>
+ <LI>
+ <A HREF="unix/index.html"><TT>unix</TT></a>:
+ supplies POSIX functionality (not all platforms).
+ </LI>
+@HOpenGLHTMLStart@
+ <LI>
+ <A HREF="OpenGL/index.html"><TT>OpenGL</TT></a>:
+ 3D rendering.
+ </LI>
+ <LI>
+ <A HREF="GLUT/index.html"><TT>GLUT</TT></a>:
+ the OpenGL utility toolkit.
+ </LI>
+@HOpenGLHTMLEnd@
+@ObjectIOHTMLStart@
+ <LI>
+ <A HREF="ObjectIO/index.html"><TT>ObjectIO</TT></a>: GUI library.
+ </LI>
+@ObjectIOHTMLEnd@
+ </UL>
+ </P>
+
+ </BODY>
+</HTML>