X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Flibraries.html.in;h=2f757c3f593bf799f00578149d1b821e096bd93b;hb=6fa5e486d47bd912b05110487782add5f0eccc3e;hp=84811a8ac506ac96f44a28ef2deb19bb6957dcfe;hpb=84aa967da3265530a350e6626f61a2b57a945c2d;p=ghc-hetmet.git
diff --git a/ghc/docs/libraries.html.in b/ghc/docs/libraries.html.in
index 84811a8..2f757c3 100644
--- a/ghc/docs/libraries.html.in
+++ b/ghc/docs/libraries.html.in
@@ -7,60 +7,101 @@
Haskell Hierarchical Libraries
- The libraries are divided into several packages.
+ The libraries are divided into several packages.
+ 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.
- 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.
-
-
-
- -
- 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).
-
+
+ -
+ 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.
-
+ -
+ OpenGL
+
-
+ 3D rendering.
+
+ -
+ GLUT
+
-
+ the OpenGL utility toolkit.
+
@HOpenGLHTMLEnd@
@ObjectIOHTMLStart@
- -
- ObjectIO: GUI library.
-
+ -
+ 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 98
+ -
+ Hugs provides almost all of the modules in the base package,
+ all the modules in the
+ haskell98, network and haskell-src packages,
+ and some of those in the unix package.
+ These modules are always available, as a single hierarchy;
+ Hugs does not use the package subdivision.
+
+
+ - Nhc98
+ -
+ To use modules from a package P with Nhc98,
+ add the compile-time option -package P.
+ Nhc98 currently provides many of the modules in the
+ base package (see the
+ Nhc98 libraries page
+ for a list).
+
+
+