X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Flibraries.html.in;h=3c4605ff506650580caa9c05f914cd317f86b1d8;hb=2c010bc691c2ae07e36a7d0c9851f0094889b39b;hp=5de2f12ae0b9fdb20f4ddf2d8a19c186e3a5df66;hpb=e6d14f325f2c6c580025d0dc97dd70b723b6f92a;p=ghc-hetmet.git diff --git a/ghc/docs/libraries.html.in b/ghc/docs/libraries.html.in index 5de2f12..3c4605f 100644 --- a/ghc/docs/libraries.html.in +++ b/ghc/docs/libraries.html.in @@ -7,65 +7,128 @@

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.

- -

Hugs users note: 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.

- -

-

-

+ + +

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 + and all the modules in the + haskell98, + haskell-src, + network, + parsec and + QuickCheck packages. +@unixHTMLStart@ + Most of the modules in the unix + package are supported, too. +@unixHTMLEnd@ +@HOpenGLHTMLStart@ + If the target platform supports OpenGL, the + OpenGL and + GLUT packages are supported too. +@HOpenGLHTMLEnd@ + All those modules are always available, as a single hierarchy; + Hugs does not use the package subdivision. +
+ +
Nhc98
+
+ The modules of the haskell98 package are available + without the need to use any additional compile-time options. + To use modules from some other 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). +
+ +