2133a5be95d0071ac2969773d32c78c605d98bd8
[ghc-hetmet.git] / ghc / docs / libraries.html.in
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <HTML>
3   <HEAD>
4     <TITLE>Haskell Hierarchical Libraries</TITLE>
5   </HEAD>
6
7   <BODY>
8     <H1>Haskell Hierarchical Libraries</H1>
9
10     <P>The libraries are divided into several <EM>packages</EM>:</P>
11
12     <DL>
13       <DT>
14         <A HREF="base/index.html"><TT>base</TT></a>
15       </DT><DD>
16         the Prelude, and a large collection of useful libraries.
17       </DD>
18       <DT>
19         <A HREF="haskell98/index.html"><TT>haskell98</TT></a>
20       </DT><DD>
21         Haskell 98 and FFI Standard Libraries.
22       </DD>
23       <DT>
24         <A HREF="network/index.html"><TT>network</TT></a>
25       </DT><DD>
26         networking support libraries.
27       </DD>
28       <DT>
29         <A HREF="haskell-src/index.html"><TT>haskell-src</TT></a>
30       </DT><DD>
31         manipulating Haskell source code.
32       </DD>
33       <DT>
34         <A HREF="readline/index.html"><TT>readline</TT></a>
35       </DT><DD>
36         a library for interactively reading input from  the console
37       </DD>
38       <DT>
39         <A HREF="unix/index.html"><TT>unix</TT></a>
40       </DT><DD>
41         supplies POSIX functionality (not all platforms).
42       </DD>
43 @HOpenGLHTMLStart@
44       <DT>
45         <A HREF="OpenGL/index.html"><TT>OpenGL</TT></a>
46       </DT><DD>
47         3D rendering.
48       </DD>
49       <DT>
50         <A HREF="GLUT/index.html"><TT>GLUT</TT></a>
51       </DT><DD>
52         the OpenGL utility toolkit.
53       </DD>
54 @HOpenGLHTMLEnd@
55 @ObjectIOHTMLStart@
56       <DT>
57         <A HREF="ObjectIO/index.html"><TT>ObjectIO</TT></a>
58       </DT><DD>
59         GUI library.
60       </DD>
61 @ObjectIOHTMLEnd@
62     </DL>
63
64     <H2>Implementation-specific notes</H2>
65
66     <DL>
67       <DT>GHC/GHCi</DT>
68       <DD>
69         Most of the time, all the packages are available without the
70         need to use any additional command-line options.  The only
71         time when this is not the case is when linking a program on the
72         command line, without using the <tt>--make</tt> option: in this
73         case you must list all the packages to link to by adding the
74         <tt>-package</tt> <i>P</i> flag (where <i>P</i> is the package
75         name) to the command line for each package.
76         See the <a href="users_guide/users-guide.html">User's Guide</a>
77         for more details.
78       </DD>
79
80       <DT>Hugs</DT>
81       <DD>
82         Hugs currently provides modules from the <tt>base</tt>,
83         <tt>haskell98</tt>, <tt>network</tt> and <tt>haskell-src</tt> packages.
84         These modules are always available, as a single hierarchy;
85         Hugs does not use the package subdivision.
86       </DD>
87
88     </DL>
89
90   </BODY>
91 </HTML>