Personal tools

Applications and libraries

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
Line 5: Line 5:
 
'''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]
   
'''[http://www.reddit.com/r/haskell_proposals/top/?t=month Propose and vote on new libraries] that you'd like''', and look at our past [http://hackage.haskell.org/trac/summer-of-code/ Summer of Code proposals]
+
== Haskell library collections ==
   
== Haskell libraries ==
+
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.
  +
* 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.
  +
* 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.
  +
** Changes to these libraries are handled by the package maintainer if one exists, or the [[Library submissions]] process if not.
  +
** [http://haskell.org/hoogle Hoogle] - the Haskell API Search Engine - indexes the above libraries
  +
* The [http://hackage.haskell.org/packages/archive/pkg-list.html Hackage database] aims to be a comprehensive a collection of released Haskell packages.
   
The first places to look for data types or functions are:
 
* [http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html The Haskell 98 Prelude]
 
* Haskell 98 [[Language and library specification]]
 
* [http://www.haskell.org/ghc/docs/latest/html/libraries/index.html The Haskell Hierarchical Libraries] bundled with Haskell implementations
 
* [http://haskell.org/hoogle Hoogle] - the Haskell API Search Engine, indexing the above libraries
 
* [http://hackage.haskell.org/packages/archive/pkg-list.html The Hackage database] - a collection of released Haskell packages
 
 
See also [[Hackage]] and [[Cabal/How to install a Cabal package | how to install a Cabal package]].
 
See also [[Hackage]] and [[Cabal/How to install a Cabal package | how to install a Cabal package]].
   
Line 60: Line 54:
 
* The Haskell [http://haskell.org/communities/ community reports]
 
* The Haskell [http://haskell.org/communities/ community reports]
 
* The [http://www.haskell.org/mailman/listinfo/libraries mailing list] for discussion of issues related to libraries.]
 
* The [http://www.haskell.org/mailman/listinfo/libraries mailing list] for discussion of issues related to libraries.]
  +
  +
You can also [http://www.reddit.com/r/haskell_proposals/top/?t=month propose and vote on new libraries] that you'd like, and look at our past [http://hackage.haskell.org/trac/summer-of-code/ Summer of Code proposals].
   
 
== Guidelines for developers ==
 
== Guidelines for developers ==

Revision as of 14:41, 17 March 2010

Applications, libraries and tools written in Haskell.

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

1 Haskell library collections

In increasing order of size:

  • The Haskell 98 Prelude is implicitly imported by default, and includes the most commonly used functions.
  • 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.

2 Hackage

New libraries are packaged and distributed from Hackage

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

3 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.

4 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.

5 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