Applications and libraries
- The copyright status of this work is not known. Please help resolve this on the talk page.
This page is being restructured, if possible refrain from editing it today. If you want to add something send an e-mail to firstname.lastname@example.org -- BjornBringert, 2006-03-22
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.
- 1 Program Development
- 2 Data structures
- 3 Extended Haskell
- 4 Interfacing with other languages and systems
- 5 Graphical User Interface Libraries
- 6 Graphics
- 7 Web, HTML, XML
- 8 Pretty-printer libraries
- 9 Compiler and compilation tools
- 10 Music
- 11 Numerical algorithms and mathematics
- 12 Hardware verification
- 13 Robots
- 14 Cognitive Science
- 15 Various
- 16 Collections of libraries
- 17 Libraries for other languages
There is an effort underway to standardise many of the extra libraries that come with Haskell implementations, and at the same time extend the module namespace into a hierarchy. A document describing this project can be found here, and 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 is intended as a comprehensive list of all Haskell libraries and tools. Some of these are proof-of-concepts rather than production code. Some have no longer been maintained for a long time.
On freshmeat.com there is an alternative list of public domain software written in Haskell. That list is currently short (for you to change that), but in particular it displays the current development status of the software. Even more Haskell projects are documented in the community reports and in the archives of the Haskell Weekly News.
The contents of this section have been moved to ProgramDevelopment.
The contents of this section have been moved to DataStructures.
The contents of this section have been moved to ExtendedHaskell.
Interfacing with other languages and systems
Web services libraries
The contents of this section have been moved to RPC.
Tools for interfacing with other languages
The contents of this section have been moved to InterfacingOtherLanguages.
Interfacing with databases
The contents of this section have been moved to DatabaseInterfaces.
Graphical User Interface Libraries
The contents of this section have been moved to GUILibraries.
The contents of this section have been moved to Graphics.
Web, HTML, XML
The contents of this section have been moved to WebProgramming.
The contents of this section have been moved to PrettyPrinting.
Compiler and compilation tools
The contents of this section have been moved to CompilerTools.
The contents of this section have been moved to Music.
Numerical algorithms and mathematics
The contents of this section have been moved to MathematicsLibraries.
The contents of this section have been moved to HardwareVerification.
The contents of this section have been moved to Robots.
(Tools, algorithms, frameworks, paradigms concerning Genetic Programming, Artificial Intelligence, Neural Networks, Fuzzy Logic, Natural Language Processing etc.)
Natural language processing
See the Linguistics page.
- 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.
- Smarty(since 10/06/2003: via Internet Archive)
- The world's smartest i/o device for Haskell. An interface between Haskell and Squeak, a freely available Smalltalk language and environment.
- A small library, based on runProcess in the standardised posix library. It provides lazy output from subprocesses.
- 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.
- 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.
- Strafunski is a Haskell bundle that provides support for generic programming in Haskell, based on the concept of a functional strategy. It consists of a combinator library (StrategyLib) and a precompiler (DrIFT-Strafunski).
- FunGEn - a game engine for Haskell
- FunGEn (Functional Game Engine) is a 2D platform-independent game engine implemented in and for Haskell, using HOpenGL. It is intended to help game programmers in the game development process, in a faster and automated way.
- The Haskell Cryptographic Library
- A library of cryptographic functions collected together in one package.
- A number theory library, RSA library, and RSA programs.
- Implementations of MD5, SHA1 and DES
- Regular expression library
- Inspired by the Perl regular expression library, written purely in Haskell. Also part of the GHC distribution.
- Partial v0.1
- The Partial library provides a partial order class. It also provides routines for generating a Hasse diagram from a set and a partial order. Renderers are provided for the abstract Hasse diagram representation into LaTeX (via Xy-pic) and into dot, the format for AT&T's Graphviz tools. Since no horizontal sorting is done, the Xy-pic output is rather poor at present; dot does a much better job with its layout optimisation algorithm.
- fun->pdf(since 10/06/2003: via Internet Archive)
- An implementation of a PDF dynamic writer in Haskell.
- A module for GNU-/POSIX-like option handling of commandline arguments
Collections of libraries
- Software available from the York FP group
- 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.
- Collection of Haskell modules (since 10/06/2003: via Internet Archive) by Jan Skibinski, Numeric Quest Inc.
- Sven's Haskell Libaries for interfacing to DaVinci, HTML/Cgi, OpenGL; a module for option handling, a Haskell parser, a binary library.
- Ian Lynagh's Haskell libraries
- Reid Consulting's Libraries and Programs CMI, TSL, Knit, Greencard, HGL, HSX11, HSWin32
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