Personal tools

Applications and libraries

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
m (Not within this)
(Put Prelude in separate section. It is important.)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
[[Category:Libraries]] [[Category:Tools]]
 
[[Category:Libraries]] [[Category:Tools]]
Applications, libraries and tools written in Haskell.
 
   
 
'''For the latest set of ready to use libraries and tools, visit [http://hackage.haskell.org/packages/archive/pkg-list.html hackage.haskell.org]
 
'''For the latest set of ready to use libraries and tools, visit [http://hackage.haskell.org/packages/archive/pkg-list.html hackage.haskell.org]
  +
  +
  +
  +
== Standard library ==
  +
* Haskell's standard library is called the [http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html Prelude]. It is implicitly imported by default, and includes the most commonly used functions.
   
 
== Haskell library collections ==
 
== Haskell library collections ==
Line 9: Line 13:
 
In increasing order of size:
 
In increasing order of size:
   
* The [http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html Haskell 98 Prelude] is implicitly imported by default, and includes the most commonly used functions.
+
* [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 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.
 
** 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.

Revision as of 18:29, 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 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.
    • 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