Difference between revisions of "Applications and libraries"

From HaskellWiki
Jump to navigation Jump to search
(link)
(fmt)
Line 39: Line 39:
 
* [[/Generic programming/]]
 
* [[/Generic programming/]]
   
== Recommended libraries ==
+
== Advice ==
 
[[Recommendations|Advice]] on the best libraries to use for particular problem cases.
 
 
== Activity ==
 
 
Project activity for some of the larger Haskell projects is graphed [http://www.cse.unsw.edu.au/~dons/images/commits/community/ here].
 
 
 
== Contributing to the libraries ==
 
   
 
Best practices for making new submissions:
 
Best practices for making new submissions:
Line 54: Line 45:
 
* [[How to write a Haskell program]]
 
* [[How to write a Haskell program]]
 
* [http://www.google.com/codesearch Google Code Search] can help identify common idioms, improving your API
 
* [http://www.google.com/codesearch Google Code Search] can help identify common idioms, improving your API
 
* [[Recommendations|Advice]] on the best libraries to use for particular problem cases.
 
* Project activity for some of the larger Haskell projects is graphed [http://www.cse.unsw.edu.au/~dons/images/commits/community/ here].
   
 
Proposals for the module name space layout that can be used to guide the construction of new libraries.
 
Proposals for the module name space layout that can be used to guide the construction of new libraries.

Revision as of 01:43, 25 October 2006


The first place to look for data types or functions that do what you want is the Standard Prelude, then the Language and library specification (both parts of the Haskell standards documentation), then in whatever extra libraries are provided by the Haskell implementation you are using, then on the page you are looking at. If it is not here, then it may be in the archives of the Haskell Weekly News.

Search the standard libraries collection (by name or type signature) using Hoogle. A large collection of standard hierarchical libraries are currently distributed with GHC (from version 5.04), Hugs (from Nov 2003), and nhc98 (from 1.16).

Cabal, The Common Architecture for Building Applications and Libraries, is an framework for packaging, building, and installing any tool developed in the Haskell language. See also the Hackage database. There is a mailing list for discussing issues related to libraries.

Some of the libraries and tools linked to from the library and tools pages are proof-of-concepts rather than production code. Some have no longer been maintained for a long time. On freshmeat.net there is an alternative list of software written in Haskell. That list is currently short (for you to change that). Even more Haskell projects are documented in the community reports and in the archives of the Haskell Weekly News. Google knows about some rare things not documented anywhere else.

Categories of Libraries and Tools

Advice

Best practices for making new submissions:

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

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