Haskell Hierarchical LibrariesContentsIndex
Haskell Hierarchical Libraries

The libraries are divided into several packages. The available packages are:

base
This package contains the Prelude and its support libraries, and a large collection of useful libraries ranging from data structures to parsing combinators and debugging utilities.
haskell98
This package provides compatibility with the modules of Haskell 98 and the FFI addendum, by means of wrappers around modules from the base package (which in many cases have additional features). However Prelude, Numeric and Foreign are provided directly by the base package. The modules of this package are documented in the Revised Haskell 98 Report, at http://www.haskell.org/onlinereport/, and the Haskell 98 Foreign Function Interface addendum, at http://www.cse.unsw.edu.au/~chak/haskell/ffi/.
parsec
A monadic parser combinator library, written by Daan Leijen. Parsec is designed from scratch as an industrial-strength parser library. It is simple, safe, well documented, has extensive libraries and good error messages, and is also fast. More documentation can be found on: http://www.cs.uu.nl/~daan/parsec.html
readline
An interface to the GNU readline library. More information on readline can be found at http://www.gnu.org/directory/readline.html.
regex-base
Interfaces for regular expressions
regex-compat
Compatibility for Text.Regex
regex-posix
POSIX regular expressions
stm
Software Transactional Memory: a modular composable concurrency abstraction.
template-haskell
Facilities for manipulating Haskell source code using Template Haskell.
unix
POSIX functionality.

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 (../users_guide/index.html) for more details.
Hugs
Hugs provides almost all of the modules in the above packages, with exceptions listed on the Hugs 98 libraries status page (http://cvs.haskell.org/Hugs/pages/libstatus.html). All those modules are always available.
Nhc98
Nhc98 provides many of the modules in the above packages (see the Nhc98 libraries page (http://www.haskell.org/nhc98/libraries.html) for a more details). 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.
Modules
Control
Control.Applicativebase
Control.Arrowbase
Control.Concurrentbase
Control.Concurrent.Chanbase
Control.Concurrent.MVarbase
Control.Concurrent.QSembase
Control.Concurrent.QSemNbase
Control.Concurrent.STMstm
Control.Concurrent.STM.TArraystm
Control.Concurrent.STM.TChanstm
Control.Concurrent.STM.TMVarstm
Control.Concurrent.STM.TVarstm
Control.Concurrent.SampleVarbase
Control.Exceptionbase
Control.Monadbase
Control.Monad.Fixbase
Control.Monad.Instancesbase
Control.Monad.STbase
Control.Monad.ST.Lazybase
Control.Monad.ST.Strictbase
Control.Monad.STMstm
Control.Parallelbase
Control.Parallel.Strategiesbase
Data
Data.Arraybase
Data.Array.Diffbase
Data.Array.IArraybase
Data.Array.IObase
Data.Array.MArraybase
Data.Array.STbase
Data.Array.Storablebase
Data.Array.Unboxedbase
Data.Bitsbase
Data.Boolbase
Data.ByteStringbase
Data.ByteString.Basebase
Data.ByteString.Char8base
Data.ByteString.Lazybase
Data.ByteString.Lazy.Char8base
Data.Charbase
Data.Complexbase
Data.Dynamicbase
Data.Eitherbase
Data.Eqbase
Data.Fixedbase
Data.Foldablebase
Data.FunctorMbase
Data.Genericsbase
Data.Generics.Aliasesbase
Data.Generics.Basicsbase
Data.Generics.Instancesbase
Data.Generics.Schemesbase
Data.Generics.Textbase
Data.Generics.Twinsbase
Data.Graphbase
Data.HashTablebase
Data.IORefbase
Data.Intbase
Data.IntMapbase
Data.IntSetbase
Data.Ixbase
Data.Listbase
Data.Mapbase
Data.Maybebase
Data.Monoidbase
Data.Ordbase
Data.PackedStringbase
Data.Queuebase
Data.Ratiobase
Data.STRefbase
Data.STRef.Lazybase
Data.STRef.Strictbase
Data.Sequencebase
Data.Setbase
Data.Traversablebase
Data.Treebase
Data.Tuplebase
Data.Typeablebase
Data.Uniquebase
Data.Versionbase
Data.Wordbase
Debug
Debug.Tracebase
Foreignbase
Foreign.Cbase
Foreign.C.Errorbase
Foreign.C.Stringbase
Foreign.C.Typesbase
Foreign.Concurrentbase
Foreign.ForeignPtrbase
Foreign.Marshalbase
Foreign.Marshal.Allocbase
Foreign.Marshal.Arraybase
Foreign.Marshal.Errorbase
Foreign.Marshal.Poolbase
Foreign.Marshal.Utilsbase
Foreign.Ptrbase
Foreign.StablePtrbase
Foreign.Storablebase
GHC
GHC.Concbase
GHC.ConsoleHandlerbase
GHC.Dotnetbase
GHC.Dynamicbase
GHC.Extsbase
GHC.Primbase
Language
Haskell
Language.Haskell.THtemplate-haskell
Language.Haskell.TH.Libtemplate-haskell
Language.Haskell.TH.Pprtemplate-haskell
Language.Haskell.TH.PprLibtemplate-haskell
Language.Haskell.TH.Syntaxtemplate-haskell
Numericbase
Preludebase
System
System.CPUTimebase
System.Cmdbase
Console
System.Console.GetOptbase
System.Console.Readlinereadline
System.Console.SimpleLineEditorreadline
System.Directorybase
System.Environmentbase
System.Exitbase
System.IObase
System.IO.Errorbase
System.IO.Unsafebase
System.Infobase
System.Localebase
System.Membase
System.Mem.StableNamebase
System.Mem.Weakbase
System.Posixunix
System.Posix.Directoryunix
System.Posix.DynamicLinkerunix
System.Posix.DynamicLinker.Moduleunix
System.Posix.DynamicLinker.Primunix
System.Posix.Envunix
System.Posix.Errorunix
System.Posix.Filesunix
System.Posix.IOunix
System.Posix.Processunix
System.Posix.Resourceunix
System.Posix.Signalsbase
System.Posix.Signals.Extsunix
System.Posix.Tempunix
System.Posix.Terminalunix
System.Posix.Timeunix
System.Posix.Typesbase
System.Posix.Unistdunix
System.Posix.Userunix
System.Processbase
System.Randombase
System.Timebase
Text
ParserCombinators
Text.ParserCombinators.Parsecparsec
Text.ParserCombinators.Parsec.Charparsec
Text.ParserCombinators.Parsec.Combinatorparsec
Text.ParserCombinators.Parsec.Errorparsec
Text.ParserCombinators.Parsec.Exprparsec
Text.ParserCombinators.Parsec.Languageparsec
Text.ParserCombinators.Parsec.Permparsec
Text.ParserCombinators.Parsec.Posparsec
Text.ParserCombinators.Parsec.Primparsec
Text.ParserCombinators.Parsec.Tokenparsec
Text.ParserCombinators.ReadPbase
Text.ParserCombinators.ReadPrecbase
Text.PrettyPrintbase
Text.PrettyPrint.HughesPJbase
Text.Printfbase
Text.Readbase
Text.Read.Lexbase
Text.Regexregex-compat
Text.Regex.Baseregex-base
Text.Regex.Base.Contextregex-base
Text.Regex.Base.Implregex-base
Text.Regex.Base.RegexLikeregex-base
Text.Regex.Posixregex-posix
Text.Regex.Posix.ByteStringregex-posix
Text.Regex.Posix.Stringregex-posix
Text.Regex.Posix.Wrapregex-posix
Text.Showbase
Text.Show.Functionsbase
Produced by Haddock version 0.6