Difference between revisions of "Applications and libraries"
Jump to navigation
Jump to search
DonStewart (talk | contribs) (new category for foreign language implementations in haskell) |
DonStewart (talk | contribs) (simplify!) |
||
Line 1: | Line 1: | ||
__NOTOC__ |
__NOTOC__ |
||
+ | The first places to look for data types or functions are: |
||
− | 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 [http://www.cse.unsw.edu.au/~dons/announce.html archives] of the [[Haskell Weekly News]]. |
||
+ | * [http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html The Standard Prelude] |
||
+ | * [[Language and library specification]] |
||
+ | * [http://www.haskell.org/ghc/docs/latest/html/libraries/index.html The Standard Hierarchical Libraries] |
||
+ | * [http://haskell.org/hoogle Hoogle] |
||
+ | * [http://hackage.haskell.org/ModHackage/Hackage.hs?action=home The Hackage database] |
||
⚫ | |||
− | Search the standard libraries collection (by name or type signature) |
||
− | using [http://haskell.org/hoogle Hoogle]. A large collection of [http://www.haskell.org/ghc/docs/latest/html/libraries/index.html standard hierarchical libraries] are currently distributed with GHC (from version 5.04), Hugs (from Nov 2003), and nhc98 (from 1.16). |
||
+ | Third party libraries and tools for Haskell, or written in Haskell: |
||
⚫ | |||
⚫ | |||
− | |||
− | 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 [http://freshmeat.net/browse/834/?topic_id=834 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 [http://haskell.org/communities/ community reports] and in the archives of the [[Haskell Weekly News]]. Google knows about some rare things not documented anywhere else. |
||
− | |||
⚫ | |||
* [[/Program development/]] |
* [[/Program development/]] |
||
Line 39: | Line 37: | ||
* [[/Games/]] |
* [[/Games/]] |
||
* [[/Generic programming/]] |
* [[/Generic programming/]] |
||
+ | |||
+ | Other places to look include: |
||
+ | * The Haskell [http://haskell.org/communities/ community reports] |
||
+ | * The archives of the [[Haskell Weekly News]] |
||
⚫ | |||
+ | * freshmeat.net has [http://freshmeat.net/browse/834/?topic_id=834 an alternative list of software written in Haskell] |
||
== Advice == |
== Advice == |
||
Line 48: | Line 52: | ||
* [[Recommendations|Advice]] on the best libraries to use for particular problem cases. |
* [[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]. |
* 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. |
||
− | |||
* [http://www.cs.york.ac.uk/fp/libraries/layout.html Proposal 1] |
* [http://www.cs.york.ac.uk/fp/libraries/layout.html Proposal 1] |
||
* [http://www.cs.york.ac.uk/fp/libraries/layoutSM.html Proposal 2] |
* [http://www.cs.york.ac.uk/fp/libraries/layoutSM.html Proposal 2] |
Revision as of 06:54, 30 October 2006
The first places to look for data types or functions are:
- The Standard Prelude
- Language and library specification
- The Standard Hierarchical Libraries
- Hoogle
- The Hackage database
Categories of Libraries and Tools
Third party libraries and tools for Haskell, or written in Haskell:
- Program development
- Data structures
- Extended Haskell
- Tools for interfacing with other languages
- Operating systems and systems programming
- Network
- Concurrency and parallelism
- Database interfaces
- Graphical User Interface Libraries
- Graphics
- Web, HTML, XML
- Parsing, lexing and regular expressions
- Pretty-printer libraries
- Editors
- Mathematics
- Compilers and interpreters
- Theorem provers
- Hardware verification
- Robots
- Audio, music and sound
- Genetic programming
- Linguistics and natural language processing
- Cryptography and hashing
- Games
- Generic programming
Other places to look include:
- The Haskell community reports
- The archives of the Haskell Weekly News
- The mailing list for discussion of issues related to libraries.
- freshmeat.net has an alternative list of software written in Haskell
Advice
Best practices for making new submissions:
- Guide to making standard library submissions
- How to write a Haskell program
- Google Code Search can help identify common idioms, improving your API
- Advice on the best libraries to use for particular problem cases.
- Project activity for some of the larger Haskell projects is graphed here.
- Cabal, The Common Architecture for Building Applications and Libraries, is a framework for packaging, building, and installing any tool developed in the Haskell language.
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