Applications and libraries
- The copyright status of this work is not known. Please help resolve this on the talk page.
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.
There is a mailing list for discussing issues related to libraries.
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.
This page was intended as a comprehensive list of all Haskell libraries and tools. Because of Haskell's success, the list grew too large to be on one page, and it has now been split up. 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.
Categories of Libraries and Tools
- Program development
- Data structures
- Extended Haskell
- Tools for interfacing with other languages
- Web services and Remote Procedure Call libraries
- Database interfaces
- Graphical User Interface Libraries
- Web, HTML, XML
- Pretty-printer libraries
- Compiler, parsing, lexing and regular expressions
- Music and sound
- Numerical algorithms and mathematics
- Hardware verification
- Genetic programming
- Linguistics and natural language processing
- Cryptography and hashing
If you figure you a good category for any of these libraries, please move it to the appropriate page, or make a new page and link to it above.
- A library for compiling and loading plugins into a running Haskell program.
- A library for using Haskell for tasks which are usually done by shell scripts, e.g. command line parsing, analysing paths, etc.
- hMPI is an acronym for HaskellMPI. It is a Haskell binding conforming to MPI (Message Passing Interface) standard 1.1/1.2. The programmer is in full control over the communication between the nodes of a cluster.
- A small library, based on runProcess in the standardised posix library. It provides lazy output from subprocesses.
- Expander2 is a flexible multi-purpose workbench for rewriting, verification, constraint solving, flow graph analysis and related procedures that build up proofs or computation sequences. Moreover, tailor-made interpreters display terms as 2D structures ranging from trees and rooted graphs to tables, fractals and other turtle-system-generated pictures.
- Editor combinators allow to assemble structure editors compositionally instead of generating them from descriptions, just as parsing combinators allow to assemble parsers compositionally instead of employing parser generators to generate parsers from grammar descriptions.
- Smarty(via Internet Archive since 10/06/2003)
- The world's smartest i/o device for Haskell. An interface between Haskell and Squeak, a freely available Smalltalk language and environment.
- fun->pdf(via Internet Archive since 10/06/2003)
- An implementation of a PDF dynamic writer in Haskell.
- GetOpt (This link is dead. Fix it or remove it.)
- A module for GNU-/POSIX-like option handling of commandline arguments
Collections of libraries
- John Meacham's Haskell tools and libraries
- Andrew Rock's library of useful modules
- Libraries by Ralf Hinze for data structures, sorting, searching, parsing, pretty printing, numerical algorithms, monads, etc.
- Ian Lynagh's Haskell libraries
- Reid Consulting's Libraries and Programs CMI, TSL, Knit, Greencard, HGL, HSX11, HSWin32
- Software available from the York FP group (This link is dead. Fix it or remove it.)
- Sven's Haskell Libaries (This link is dead. Fix it or remove it.) for interfacing to DaVinci, HTML/Cgi, OpenGL; a module for option handling, a Haskell parser, a binary library.
- Collection of Haskell modules (since 10/06/2003: via Internet Archive) by Jan Skibinski, Numeric Quest Inc.
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