[project @ 2003-07-31 17:47:18 by ross]
[ghc-hetmet.git] / ghc / docs / libraries.html.in
index 2133a5b..de855ea 100644 (file)
@@ -7,7 +7,11 @@
   <BODY>
     <H1>Haskell Hierarchical Libraries</H1>
 
-    <P>The libraries are divided into several <EM>packages</EM>:</P>
+    <P>The libraries are divided into several <EM>packages</EM>.
+    NOTE: there is not always a clean division between packages in the
+    hierarchy, which means a node and its children might be in
+    different packages.  If you're looking for a specific module, try
+    all the packages below.</P>
 
     <DL>
       <DT>
        Haskell 98 and FFI Standard Libraries.
       </DD>
       <DT>
+       <A HREF="parsec/index.html"><TT>parsec</TT></a>
+      </DT><DD>
+       monadic parser combinators.
+      </DD>
+      <DT>
        <A HREF="network/index.html"><TT>network</TT></a>
       </DT><DD>
        networking support libraries.
       <DT>
        <A HREF="readline/index.html"><TT>readline</TT></a>
       </DT><DD>
-       a library for interactively reading input from  the console
+       a library for interactively reading input from the console.
       </DD>
+@unixHTMLStart@
       <DT>
        <A HREF="unix/index.html"><TT>unix</TT></a>
       </DT><DD>
-       supplies POSIX functionality (not all platforms).
+       supplies POSIX functionality.
       </DD>
+@unixHTMLEnd@
 @HOpenGLHTMLStart@
       <DT>
        <A HREF="OpenGL/index.html"><TT>OpenGL</TT></a>
@@ -64,7 +75,7 @@
     <H2>Implementation-specific notes</H2>
 
     <DL>
-      <DT>GHC/GHCi</DT>
+      <DT><A HREF="http://www.haskell.org/ghc/">GHC/GHCi</A></DT>
       <DD>
        Most of the time, all the packages are available without the
        need to use any additional command-line options.  The only
        for more details.
       </DD>
 
-      <DT>Hugs</DT>
+      <DT><A HREF="http://www.haskell.org/hugs/">Hugs 98</A></DT>
       <DD>
-       Hugs currently provides modules from the <tt>base</tt>,
-       <tt>haskell98</tt>, <tt>network</tt> and <tt>haskell-src</tt> packages.
-       These modules are always available, as a single hierarchy;
+       Hugs provides almost all of the modules in the
+       <A HREF="base/index.html"><TT>base</TT></a> package
+       and all the modules in the
+       <A HREF="haskell98/index.html"><TT>haskell98</TT></a>,
+       <A HREF="network/index.html"><TT>network</TT></a>,
+       <A HREF="parsec/index.html"><TT>parsec</TT></a> and
+       <A HREF="haskell-src/index.html"><TT>haskell-src</TT></a> packages.
+@unixHTMLStart@
+       Most of the modules in the <A HREF="unix/index.html"><TT>unix</TT></a> package are supported, too.
+@unixHTMLEnd@
+       All those modules are always available, as a single hierarchy;
        Hugs does not use the package subdivision.
       </DD>
 
+      <DT><A HREF="http://www.haskell.org/nhc98/">Nhc98</A></DT>
+      <DD>
+       To use modules from a package <i>P</i> with Nhc98,
+       add the compile-time option <tt>-package</tt> <i>P</i>.
+       Nhc98 currently provides many of the modules in the
+       <tt>base</tt> package (see the
+       <a href="http://www.haskell.org/nhc98/libraries.html">Nhc98 libraries page</a>
+       for a list).
+      </DD>
+
     </DL>
 
   </BODY>