Personal tools

Applications and libraries

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(Put Prelude in separate section. It is important.)
(Remove mention of 98, it's 2010 now.)
Line 14: Line 14:
   
 
* [http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html Haskell Prelude].
 
* [http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html Haskell Prelude].
* The Haskell 98 [[Language and library specification]] define basic, portable functionality. However, it uses the old, deprecated namespace, and the way some functionality (such as exception handling) is defined is now believed to have been a mistake.
+
* The Haskell [[Language and library specification]] defines basic, portable functionality.
 
** Changes to these libraries are handled by the [http://hackage.haskell.org/trac/haskell-prime/ Haskell'] process.
 
** Changes to these libraries are handled by the [http://hackage.haskell.org/trac/haskell-prime/ Haskell'] process.
 
* The [http://www.haskell.org/ghc/docs/latest/html/libraries/index.html The GHC boot libraries], which come with GHC, are generally an improved and expanded version of the Haskell 98 libraries, in the hierarchical namespace.
 
* The [http://www.haskell.org/ghc/docs/latest/html/libraries/index.html The GHC boot libraries], which come with GHC, are generally an improved and expanded version of the Haskell 98 libraries, in the hierarchical namespace.

Revision as of 18:32, 11 October 2010


For the latest set of ready to use libraries and tools, visit hackage.haskell.org


1 Standard library

  • Haskell's standard library is called the Prelude. It is implicitly imported by default, and includes the most commonly used functions.

2 Haskell library collections

In increasing order of size:

  • Haskell Prelude.
  • The Haskell Language and library specification defines basic, portable functionality.
    • Changes to these libraries are handled by the Haskell' process.
  • The The GHC boot libraries, which come with GHC, are generally an improved and expanded version of the Haskell 98 libraries, in the hierarchical namespace.
    • Changes to these libraries are handled by the package maintainer if one exists, or the Library submissions process if not.
    • Hoogle - the Haskell API Search Engine - indexes the above libraries
  • The Hackage database aims to be a comprehensive a collection of released Haskell packages.

See also Hackage and how to install a Cabal package.

3 Hackage

New libraries are packaged and distributed from Hackage

Start on Hackage if looking for a library not in the standard.

4 Haskell applications and libraries

Applications, libraries and tools for Haskell or written in Haskell have been classified below, but you should check Hackage for the latest list.

Other places to look include:

You can also propose and vote on new libraries that you'd like, and look at our past Summer of Code proposals.

5 Guidelines for developers

(thumbnail)
Built with Cabal

Developer guides:

Proposals for the module name space layout that can be used to guide the construction of new libraries.

6 Libraries for other languages

If you are thinking about designing a new library for Haskell, you ought to look what has been done in other languages. Here are standard library definitions for