Applications and libraries: Difference between revisions
DuncanCoutts (talk | contribs) (Sort out the markup for the graphics & GUIs section.) |
David Wahler (talk | contribs) m (changed links to use wiki-markup) |
||
Line 92: | Line 92: | ||
<li>[http://www.informatik.uni-bonn.de/~ralf/software.html#syntax | <li>[http://www.informatik.uni-bonn.de/~ralf/software.html#syntax | ||
Files] by Ralf Hinze. | Files] by Ralf Hinze. | ||
<li> | <li>[hs.xml hs.xml] and [lhs.xml lhs.xml] by Brian Huffman. | ||
</ul> | </ul> | ||
<dt> | <dt>[http://www.nedit.org/ftp/contrib/highlighting/haskell.pats NEdit] | ||
syntax highlighting and block comment support.</dt> | syntax highlighting and block comment support.</dt> | ||
<dt> | <dt>[http://www.vim.org vim] syntax highlighting</dt> | ||
<dd> | <dd> | ||
<ul> | <ul> | ||
<li> | <li>[ftp://ftp.cse.unsw.edu.au/pub/users/dons/vim/ by Don Stewart]: for TeX and cpp style Haskell files. | ||
<li> | <li>[http://urchin.earth.li/~ian/vim/ by Ian Lynagh]: distinguishes different literal Haskell styles. | ||
<li>by John Williams: Both regular Haskell | <li>by John Williams: Both regular Haskell [haskell.vim .hs] and [lhaskell.vim .lhs] files | ||
that uncomment lines using '>' are supported. | that uncomment lines using '>' are supported. | ||
</ul> | </ul> | ||
<dt> | <dt>[Haskell98.syn Syntax highlighting file] for <a | ||
href="http://www.textpad.com">textpad</a></dt> | href="http://www.textpad.com">textpad</a></dt> | ||
Line 115: | Line 113: | ||
seperate groups.</dd> | seperate groups.</dd> | ||
<dt> | <dt>[http://www.astercity.net/~khaliff/haskell/haskellmode.tgz Haskell | ||
mode]</dt> | |||
mode | |||
<dd>for | <dd>for [http://www.jedsoft.org/jed/ jed] by | ||
Marcin 'Qrczak' Kowalczyk.</dd> | Marcin 'Qrczak' Kowalczyk.</dd> | ||
<dt> | <dt>[http://www.haskell.org/haskell-mode/ Haskell Mode for | ||
Emacs | Emacs]</dt> | ||
<dd>Supports font locking, declaration scanning, documentation of | <dd>Supports font locking, declaration scanning, documentation of | ||
types, indentation and interaction with Hugs.</dd> | types, indentation and interaction with Hugs.</dd> | ||
<dt>Alternative | <dt>Alternative [hugs-mode.el Hugs Mode for Emacs] by | ||
Chris Van Humbeeck</dt> | Chris Van Humbeeck</dt> | ||
Line 135: | Line 132: | ||
</dl> | </dl> | ||
<p>Some other, mostly obsolete, modes are available in | <p>Some other, mostly obsolete, modes are available in [http://cvs.haskell.org/cgi-bin/cvsweb.cgi/fptools/CONTRIB/haskell-modes/ | ||
CVS].</p> | |||
CVS | |||
=== Typesetting Haskell in TeX === | === Typesetting Haskell in TeX === | ||
<dl> | <dl> | ||
<dt> | <dt>[http://www.jantar.org/lambdaTeX/ lambdaTeX]</dt> | ||
<dd>A TeX package for typesetting literate scripts in TeX. The | <dd>A TeX package for typesetting literate scripts in TeX. The | ||
Line 156: | Line 152: | ||
code.</dd> | code.</dd> | ||
<dt> | <dt>[http://www.cse.unsw.edu.au/~chak/haskell/haskell-style.html Haskell | ||
Style for LaTeX2e]</dt> | |||
Style for LaTeX2e | |||
<dd>by Manuel Chakravarty provides environments and macros that | <dd>by Manuel Chakravarty provides environments and macros that | ||
simplify setting Haskell programs in LaTeX.</dd> | simplify setting Haskell programs in LaTeX.</dd> | ||
<dt> | <dt>[http://www.cs.uu.nl/~andres/lhs2tex/ lhs2tex]</dt> | ||
<dd>A preprocessor for typesetting Haskell programs that combines | <dd>A preprocessor for typesetting Haskell programs that combines | ||
some of the good features of pphs and smugweb. It generates LaTeX code from literate Haskell sources.</dd> | some of the good features of pphs and smugweb. It generates LaTeX code from literate Haskell sources.</dd> | ||
<dt> | <dt>[http://www.acooke.org/jara/pancito/haskell.sty | ||
haskell.sty]</dt> | |||
haskell.sty | |||
<dd>A Latex style file by Andrew Cooke that makes literal | <dd>A Latex style file by Andrew Cooke that makes literal | ||
Line 191: | Line 184: | ||
straight to the definition, and documentation, for that type.</dd> | straight to the definition, and documentation, for that type.</dd> | ||
<dt> | <dt>[http://www.cse.unsw.edu.au/~chak/haskell/idoc/ IDoc] A No | ||
Frills Haskell Interface Documentation System</dt> | Frills Haskell Interface Documentation System</dt> | ||
Line 204: | Line 196: | ||
install.</dd> | install.</dd> | ||
<dt> | <dt>[http://www.fmi.uni-passau.de/~groessli/hdoc/ HDoc]</dt> | ||
<dd>HDoc generates documentation in HTML format for Haskell | <dd>HDoc generates documentation in HTML format for Haskell | ||
Line 212: | Line 203: | ||
data types, type classes and instance declarations.</dd> | data types, type classes and instance declarations.</dd> | ||
<dt> | <dt>[http://www.ida.liu.se/~jakax/haskell.html HaskellDoc]</dt> | ||
<dd>This program generates an HTML document showing the module | <dd>This program generates an HTML document showing the module | ||
Line 220: | Line 210: | ||
quick access to the source code.</dd> | quick access to the source code.</dd> | ||
<dt> | <dt>[http://web.archive.org/web/*/http://www.numeric-quest.com/haskell/explorer/browser.html The | ||
Haskell Module Browser]<em>(since 10/06/2003: via Internet Archive)</em></dt> | |||
Haskell Module Browser | |||
<dd>A browser similar to Smaltalk and Eiffel class browsers.</dd> | <dd>A browser similar to Smaltalk and Eiffel class browsers.</dd> | ||
Line 230: | Line 219: | ||
<dl> | <dl> | ||
<dt> | <dt>[http://hunit.sourceforge.net HUnit]</dt> | ||
<dd>A unit testing framework for Haskell, similar to JUnit for | <dd>A unit testing framework for Haskell, similar to JUnit for | ||
Line 238: | Line 227: | ||
flexible, and convenient.</dd> | flexible, and convenient.</dd> | ||
<dt> | <dt>[http://www.cs.chalmers.se/~rjmh/QuickCheck/ QuickCheck]</dt> | ||
<dd>A tool for testing Haskell programs automatically. The | <dd>A tool for testing Haskell programs automatically. The | ||
Line 263: | Line 251: | ||
<dl> | <dl> | ||
<dt> | <dt>[http://www.cs.mu.oz.au/~bjpop/buddha/ Buddha]</dt> | ||
<dd>Buddha is a declarative debugger for Haskell 98 programs. It presents the evaluation of a Haskell program as a series of function applications. A typical debugging session involves a series of questions and answers. The questions are posed by the debugger, and the answers are provided by the user. The implementation of Buddha is based on program transformation.</dd> | <dd>Buddha is a declarative debugger for Haskell 98 programs. It presents the evaluation of a Haskell program as a series of function applications. A typical debugging session involves a series of questions and answers. The questions are posed by the debugger, and the answers are provided by the user. The implementation of Buddha is based on program transformation.</dd> | ||
<dt> | <dt>[http://www.ida.liu.se/~henni Freja]</dt> | ||
<dd>A compiler for a subset of Haskell. Running a compiled program | <dd>A compiler for a subset of Haskell. Running a compiled program | ||
Line 275: | Line 263: | ||
sequence of yes/no questions.</dd> | sequence of yes/no questions.</dd> | ||
<dt> | <dt>[http://www.cs.york.ac.uk/fp/hat Hat]</dt> | ||
<dd>A Haskell program is first transformed by hat-trans and then | <dd>A Haskell program is first transformed by hat-trans and then | ||
Line 287: | Line 275: | ||
Freja. Hat-explore allows free navigation through a computation similar to traditional debuggers and algorithmic debugging and slicing.</dd> | Freja. Hat-explore allows free navigation through a computation similar to traditional debuggers and algorithmic debugging and slicing.</dd> | ||
<dt> | <dt>[http://www.haskell.org/hood Hood]</dt> | ||
<dd>A library that permits to observe data structures at given | <dd>A library that permits to observe data structures at given | ||
Line 294: | Line 282: | ||
and functions can be observed as well.</dd> | and functions can be observed as well.</dd> | ||
<dt> | <dt>[http://www.cs.ukc.ac.uk/people/staff/cr3/toolbox/haskell/ GHood]</dt> | ||
<dd>"Graphical Hood" - a Java-based graphical observation event | <dd>"Graphical Hood" - a Java-based graphical observation event | ||
Line 304: | Line 291: | ||
<dl> | <dl> | ||
<dt> | <dt>[http://www.haskell.org/ghc/docs/edison/ Edison]</dt> | ||
<dd>Chris Okasaki is developing a library of efficient data | <dd>Chris Okasaki is developing a library of efficient data | ||
structures. It provides sequences, finite maps, priority queues, | structures. It provides sequences, finite maps, priority queues, | ||
and sets/bags. ( | and sets/bags. ([http://www.eecs.usma.edu/Personnel/okasaki/pubs.html#hw00 overview paper]).</dd> | ||
<dt> | <dt>[http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/haskell_libs/Binary.html | ||
Binary/BinArray library]</dt> | |||
Binary/BinArray library | |||
<dd>A port of Malcolm Wallace's Binary library for NHC13, offering | <dd>A port of Malcolm Wallace's Binary library for NHC13, offering | ||
Line 320: | Line 304: | ||
BinArray, uses Binary to implement imperative binary arrays.</dd> | BinArray, uses Binary to implement imperative binary arrays.</dd> | ||
<dt> | <dt>[http://www.cs.orst.edu/~erwig/fgl/ FGL - A Functional | ||
Graph Library | Graph Library]</dt> | ||
<dd>The functional graph library provides a collection of graph | <dd>The functional graph library provides a collection of graph | ||
operations.</dd> | operations.</dd> | ||
<dt> | <dt>[http://www.cs.vu.nl/Strafunski/ Strafunski]</dt> | ||
<dd>A bundle for generic programming. It provides programming | <dd>A bundle for generic programming. It provides programming | ||
Line 332: | Line 316: | ||
program transformations.</dd> | program transformations.</dd> | ||
<dt> | <dt>[http://www.isi.edu/~hdaume/STPP/ The Haskell STate Preprocessor]</dt> | ||
<dd>This is a short preprocessor for stateful Haskell programs. It aleviates the pain of performing single | <dd>This is a short preprocessor for stateful Haskell programs. It aleviates the pain of performing single | ||
Line 348: | Line 332: | ||
<dl> | <dl> | ||
<dt> | <dt>[http://eecs.oregonstate.edu/~erwig/pfp/ PFP]</dt> | ||
<dd>The PFP library is a collection of modules for Haskell that facilitates probabilistic functional programming, that is, programming with stochastic values. The probabilistic functional programming approach is based on a data type for representing distributions. A distribution represent the outcome of a probabilistic event as a collection of all possible values, tagged with their likelihood. A nice aspect of this system is that simulations can be specified independently from their method of execution. That is, we can either fully simulate or randomize any simulation without altering the code which defines it.</dd> | <dd>The PFP library is a collection of modules for Haskell that facilitates probabilistic functional programming, that is, programming with stochastic values. The probabilistic functional programming approach is based on a data type for representing distributions. A distribution represent the outcome of a probabilistic event as a collection of all possible values, tagged with their likelihood. A nice aspect of this system is that simulations can be specified independently from their method of execution. That is, we can either fully simulate or randomize any simulation without altering the code which defines it.</dd> | ||
<dt> | <dt>[http://www.dtek.chalmers.se/~d00nibro/harp/ HaRP]</dt> | ||
<dd>A Haskell extension that extends the normal pattern matching facility with the power of regular expressions.</dd> | <dd>A Haskell extension that extends the normal pattern matching facility with the power of regular expressions.</dd> | ||
<dt> | <dt>[http://www.haskell.org/arrows/ Arrows]</dt> | ||
<dd>Ross Patterson has developed a preprocessor that provides a nice | <dd>Ross Patterson has developed a preprocessor that provides a nice | ||
Line 362: | Line 345: | ||
<dt> | <dt>[http://www.haskell.org/yampa/ Functional Reactive Programming]</dt> | ||
<dd>Functional reactive programming integrates time flow into | <dd>Functional reactive programming integrates time flow into | ||
Line 376: | Line 358: | ||
<dl> | <dl> | ||
<dt> | <dt>[http://www.haskell.org/haxr/ HaXR - the Haskell XML-RPC library]</dt> | ||
<dd>An XML-RPC client and server library. | <dd>An XML-RPC client and server library. [http://www.xmlrpc.com/ XML-RPC] is "remote procedure calling using HTTP | ||
as the transport and XML as the encoding. XML-RPC is designed to be as | as the transport and XML as the encoding. XML-RPC is designed to be as | ||
simple as possible, while allowing complex data structures to be | simple as possible, while allowing complex data structures to be | ||
Line 385: | Line 367: | ||
=== Tools for interfacing with other languages === | === Tools for interfacing with other languages === | ||
The definition of a basic | The definition of a basic [http://www.cse.unsw.edu.au/~chak/haskell/ffi/ foreign function | ||
interface for Haskell (FFI)] is finished. It has been agreed on and | |||
interface for Haskell (FFI) | |||
implemented by most Haskell implementors. The following tools already | implemented by most Haskell implementors. The following tools already | ||
produce code for this interface. The <A | produce code for this interface. The <A | ||
Line 396: | Line 377: | ||
<dl> | <dl> | ||
<dt> | <dt>[http://haskell.org/greencard/ Green Card]</dt> | ||
<dd>Green Card is a foreign function interface preprocessor for | <dd>Green Card is a foreign function interface preprocessor for | ||
Line 402: | Line 383: | ||
external libraries (which are normally exposed via C interfaces). | external libraries (which are normally exposed via C interfaces). | ||
Green Card is currently able to generate code compatible with the | Green Card is currently able to generate code compatible with the | ||
[../implementations.html#ghc Glasgow Haskell Compiler], | |||
[../implementations.html#hugs Hugs] and [../implementations.html#nhc nhc].</dd> | |||
<dt> | <dt>[http://haskell.org/hdirect/ HaskellDirect]</dt> | ||
<dd>HaskellDirect is an Interface Definition Language (IDL) | <dd>HaskellDirect is an Interface Definition Language (IDL) | ||
Line 420: | Line 400: | ||
Microsoft IDL compiler) and the OMG IIOP/CORBA dialect.</dd> | Microsoft IDL compiler) and the OMG IIOP/CORBA dialect.</dd> | ||
<dt> | <dt>[http://www.cse.unsw.edu.au/~chak/haskell/c2hs/ C->Haskell]</dt> | ||
<dd>A lightweight tool for implementing access to C libraries from | <dd>A lightweight tool for implementing access to C libraries from | ||
Haskell.</dd> | Haskell.</dd> | ||
<dt> | <dt>[http://hsffig.sourceforge.net HSFFIG]</dt> | ||
<dd>Haskell FFI Binding Modules Generator (HSFFIG) is a tool that takes a | <dd>Haskell FFI Binding Modules Generator (HSFFIG) is a tool that takes a | ||
C library include file (.h) and generates Haskell Foreign Functions | C library include file (.h) and generates Haskell Foreign Functions | ||
Line 432: | Line 411: | ||
the header defines.</dd> | the header defines.</dd> | ||
<dt> | <dt>[http://www.haskell.org/gcjni GCJNI]</dt> | ||
<dd>A Java Native Interface for Haskell. Allows Haskell to invoke | <dd>A Java Native Interface for Haskell. Allows Haskell to invoke | ||
Line 438: | Line 417: | ||
library. Works for hugs and ghc under both Linux and Windows.</dd> | library. Works for hugs and ghc under both Linux and Windows.</dd> | ||
<dt> | <dt>[http://sourceforge.net/projects/jvm-bridge/ Haskell/Java VM | ||
Bridge]</dt> | |||
Bridge | |||
<dd>A bridge to the Java virtual machine via JNI for Haskell.</dd> | <dd>A bridge to the Java virtual machine via JNI for Haskell.</dd> | ||
<dt> | <dt>[http://haskell.org/haskellscript/ HaskellScript]</dt> | ||
<dd>HaskellScript is the collective name for all Haskell | <dd>HaskellScript is the collective name for all Haskell | ||
Line 451: | Line 428: | ||
the COM/ActiveX framework.</dd> | the COM/ActiveX framework.</dd> | ||
<dt> | <dt>[http://www.astercity.net/~khaliff/haskell/kdirect/index.html KDirect]</dt> | ||
<dd>A tool to simplify the process of interfacing C libraries to | <dd>A tool to simplify the process of interfacing C libraries to | ||
Line 462: | Line 438: | ||
<dl> | <dl> | ||
<dt> | <dt>[http://www.cse.unsw.edu.au/~dons/hs-plugins/ hs-plugins] | ||
<dd>A library for compiling and loading plugins into a running Haskell program.</dd> | <dd>A library for compiling and loading plugins into a running Haskell program.</dd> | ||
<dt> | <dt>[http://www.volker-wysk.de/hsshellscript HsShellScript]</dt> | ||
<dd>A library for using Haskell for tasks which are usually done by shell scripts, e.g. command line parsing, analysing paths, etc.</dd> | <dd>A library for using Haskell for tasks which are usually done by shell scripts, e.g. command line parsing, analysing paths, etc.</dd> | ||
<dt> | <dt>[http://www.cse.ogi.edu/~erik/Personal/cgi.htm CGI | ||
Library | Library]</dt> | ||
<dd>CGI programs can receive input from the client's web browser, | <dd>CGI programs can receive input from the client's web browser, | ||
Line 478: | Line 454: | ||
and above.</dd> | and above.</dd> | ||
<dt> | <dt>[http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/haskell_libs/CGI.html | ||
CGI Library]</dt> | |||
CGI Library | |||
<dd>An all-in-one-file version of Erik Meijer's CGI library (above) | <dd>An all-in-one-file version of Erik Meijer's CGI library (above) | ||
Line 486: | Line 461: | ||
98.</dd> | 98.</dd> | ||
<dt> | <dt>[http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/haskell_libs/daVinci.html | ||
daVinci binding]</dt> | |||
daVinci binding | |||
<dd>A binding to daVinci, an X-Windows based visualization tool for | <dd>A binding to daVinci, an X-Windows based visualization tool for | ||
directed graphs.</dd> | directed graphs.</dd> | ||
<dt> | <dt>[http://www-i2.informatik.rwth-aachen.de/~michaelw/hmpi.html hMPI]</dt> | ||
<dd>hMPI is an acronym for HaskellMPI. It is a Haskell binding | <dd>hMPI is an acronym for HaskellMPI. It is a Haskell binding | ||
Line 501: | Line 474: | ||
nodes of a cluster.</dd> | nodes of a cluster.</dd> | ||
<dt> | <dt>[http://web.archive.org/web/*/http://www.numeric-quest.com/haskell/smartest.html Smarty]<em>(since 10/06/2003: via Internet Archive)</em></dt> | ||
<dd>The world's smartest i/o device for Haskell. An interface | <dd>The world's smartest i/o device for Haskell. An interface | ||
Line 508: | Line 480: | ||
and environment.</dd> | and environment.</dd> | ||
<dt> | <dt>[http://www.haskell.org/~petersen/haskell/popenhs/ popenhs]</dt> | ||
<dd>A small library, based on runProcess in the standardised posix library. | <dd>A small library, based on runProcess in the standardised posix library. | ||
It provides lazy output from subprocesses.</dd> | It provides lazy output from subprocesses.</dd> | ||
<dt> | <dt>[http://sourceforge.net/projects/haskell-corba/ haskell-corba]</dt> | ||
<dd>This package allows Haskell programmers to write CORBA clients | <dd>This package allows Haskell programmers to write CORBA clients | ||
and servers using the | and servers using the [http://www.mico.org MICO | ||
open-source CORBA implementation | open-source CORBA implementation]. It defines a Haskell language | ||
mapping for CORBA, and includes an IDL compiler which generates | mapping for CORBA, and includes an IDL compiler which generates | ||
Haskell stub and skeleton modules from IDL files.</dd> | Haskell stub and skeleton modules from IDL files.</dd> | ||
Line 527: | Line 497: | ||
<dl> | <dl> | ||
<dt> | <dt>[http://sourceforge.net/forum/forum.php?forum_id=350240 HSQL]</dt> | ||
<dd>HSQL is a simple library which provides an interface to multiple databases. | <dd>HSQL is a simple library which provides an interface to multiple databases. | ||
MySQL, PostgreSQL, ODBC and SQLite are currently supported. | MySQL, PostgreSQL, ODBC and SQLite are currently supported. | ||
It is part of | It is part of [http://htoolkit.sourceforge.net/ HToolkit]. | ||
<dt> | <dt>[http://cvs.sf.net/viewcvs.py/haskell-libs/libs/takusen/ Takusen]</dt> | ||
<dd>A library to interface to the Oracle DBMS. Part of the | <dd>A library to interface to the Oracle DBMS. Part of the [http://sf.net/projects/haskell-libs Haskell-Libs project]. | ||
<dt> | <dt>[http://haskelldb.sourceforge.net/ HaskellDB]</dt> | ||
<dd>An updated version of | <dd>An updated version of [http://www.haskell.org/haskellDB Daan Leijen's HaskellDB] that works with current Haskell implementations and is relatively platform-independent. | ||
<p> | <p> | ||
HaskellDB is a combinator library for expressing queries and | HaskellDB is a combinator library for expressing queries and | ||
Line 547: | Line 517: | ||
closure).</dd> | closure).</dd> | ||
<dt> | <dt>[http://members.tripod.com/~sproot/hasql.htm HaSQL]</dt> | ||
<dd>HaSQL is a Haskell to ODBC interface. HaSQL allows Haskell | <dd>HaSQL is a Haskell to ODBC interface. HaSQL allows Haskell | ||
Line 555: | Line 524: | ||
database as a lazy list.</dd> | database as a lazy list.</dd> | ||
<dt> | <dt>[http://www.astercity.net/~khaliff/haskell/dbi/dbi.tgz libpq | ||
binding]</dt> | |||
binding | |||
<dd>A Haskell binding to libpq, a client-side PostgreSQL | <dd>A Haskell binding to libpq, a client-side PostgreSQL | ||
Line 647: | Line 615: | ||
Reactive Animation. FranTk provides good support for developing | Reactive Animation. FranTk provides good support for developing | ||
complex dynamic systems, and is built on top of Tcl-Tk. This makes | complex dynamic systems, and is built on top of Tcl-Tk. This makes | ||
it platform independent. FranTk was developed by | it platform independent. FranTk was developed by [http://www.dcs.gla.ac.uk/~meurig Meurig Sage].<br> | ||
For Unix and Windows.</dd> | For Unix and Windows.</dd> | ||
Line 783: | Line 750: | ||
<dl> | <dl> | ||
<dt> | <dt>[http://www.haskell.org/http/ HTTP and | ||
Browser Modules]</dt> | |||
Browser Modules | |||
<dd>A significantly RFC compliant HTTP/1.1 implementation. This is an updated version of | <dd>A significantly RFC compliant HTTP/1.1 implementation. This is an updated version of [http://homepages.paradise.net.nz/warrickg/haskell/http/ Warrick Gray's original version].</dd> | ||
<dt> | <dt>[http://www.informatik.uni-freiburg.de/~thiemann/haskell/WASH/ WASH]</dt> | ||
<dd>A family of combinator libraries for programming Web | <dd>A family of combinator libraries for programming Web | ||
Line 797: | Line 762: | ||
scripting with sessions, compositional forms, and graphics.</dd> | scripting with sessions, compositional forms, and graphics.</dd> | ||
<dt> | <dt>[http://www.cs.york.ac.uk/fp/HaXml/ HaXml: utilities | ||
for using XML with Haskell | for using XML with Haskell]</dt> | ||
<dd>Includes an XML parser, an HTML parser, a pretty-printer, a | <dd>Includes an XML parser, an HTML parser, a pretty-printer, a | ||
Line 804: | Line 769: | ||
Haskell>-<XML converters using type-based translation.</dd> | Haskell>-<XML converters using type-based translation.</dd> | ||
<dt> | <dt>[http://www.cse.ogi.edu/~andy/html/intro.htm The | ||
Haskell Html Library | Haskell Html Library] by Andy Gill</dt> | ||
<dd>This library is a collection of combinators, allowing your | <dd>This library is a collection of combinators, allowing your | ||
Haskell programs to generate HTML.</dd> | Haskell programs to generate HTML.</dd> | ||
<dt> | <dt>[ | ||
http://www.fh-wedel.de/~si/HXmlToolbox/ | http://www.fh-wedel.de/~si/HXmlToolbox/ Haskell XML Toolbox]</dt> | ||
<dd>The Haskell XML Toolbox bases on the ideas of HaXml and HXML, but | <dd>The Haskell XML Toolbox bases on the ideas of HaXml and HXML, but | ||
Line 819: | Line 784: | ||
Haskell.</dd> | Haskell.</dd> | ||
<dt> | <dt>[http://www.cse.ogi.edu/~erik/Personal/cgi.htm CGI | ||
Library | Library]</dt> | ||
<dd>CGI programs can receive input from the client's web browser, | <dd>CGI programs can receive input from the client's web browser, | ||
Line 830: | Line 795: | ||
and above.</dd> | and above.</dd> | ||
<dt> | <dt>[http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/haskell_libs/CGI.html | ||
CGI Library]</dt> | |||
CGI Library | |||
<dd>An all-in-one-file version of Erik Meijer's CGI library (above) | <dd>An all-in-one-file version of Erik Meijer's CGI library (above) | ||
Line 838: | Line 802: | ||
98.</dd> | 98.</dd> | ||
<dt> | <dt>[hoyweghenThesis.zip Generative Implementation Strategies for Data-Centric Web Applications] | ||
<dd>Generic presentation layer abstractions of administrative web applications | <dd>Generic presentation layer abstractions of administrative web applications | ||
are the central theme of this thesis. The domain-engineering approach | are the central theme of this thesis. The domain-engineering approach | ||
results in a framework to support user interfaces generated from high-level | results in a framework to support user interfaces generated from high-level | ||
descriptions. A domain-specific language describes user interfaces. The | descriptions. A domain-specific language describes user interfaces. The | ||
[hoyweghenSoft.zip Haskell-based generator] transforms these descriptions to user interfaces | |||
implemented with JavaScript and XHTML.</dd> | implemented with JavaScript and XHTML.</dd> | ||
</dl> | </dl> | ||
Line 850: | Line 814: | ||
<dl> | <dl> | ||
<dt> | <dt>[http://research.microsoft.com/~simonpj/downloads/pretty-printer/pretty.html | ||
Pretty printer library]</dt> | |||
Pretty printer library | |||
<dd>Simon Peyton Jones made an "industrial strength" pretty | <dd>Simon Peyton Jones made an "industrial strength" pretty | ||
Line 861: | Line 824: | ||
version by John Hughes</a>.</dd> | version by John Hughes</a>.</dd> | ||
<dt> | <dt>[http://www.cs.uu.nl/groups/ST/Software/PP/ Pretty-printing | ||
combinators]</dt> | |||
combinators | |||
<dd>The combinators in the library are optimal in the sense that | <dd>The combinators in the library are optimal in the sense that | ||
Line 870: | Line 832: | ||
layouts.</dd> | layouts.</dd> | ||
<dt> | <dt>[http://www.cs.uu.nl/~daan/pprint.html PPrint]</dt> | ||
<dd>PPrint is an implementation of the pretty printing combinators described by Philip Wadler. | <dd>PPrint is an implementation of the pretty printing combinators described by Philip Wadler. | ||
Line 880: | Line 842: | ||
<dl> | <dl> | ||
<dt> | <dt>[http://www.cse.unsw.edu.au/~chak/haskell/ctk/ Manuel | ||
Chakravarty's Compiler Toolkit | Chakravarty's Compiler Toolkit]</dt> | ||
<dd>There is a significant set of functionality that is required in | <dd>There is a significant set of functionality that is required in | ||
Line 890: | Line 852: | ||
Haskell.</dd> | Haskell.</dd> | ||
<dt> | <dt>[http://www.cs.princeton.edu/zephyr/ASDL/ The Zephyr | ||
Abstract Syntax Description Lanuguage (ASDL) | Abstract Syntax Description Lanuguage (ASDL)]</dt> | ||
<dd>ASDL is a language designed to describe the tree-like data | <dd>ASDL is a language designed to describe the tree-like data | ||
Line 902: | Line 864: | ||
Standard ML, and Haskell.</dd> | Standard ML, and Haskell.</dd> | ||
<dt> | <dt>[http://www.cse.ogi.edu/~mpj/thih/ Typing Haskell in | ||
Haskell | Haskell]</dt> | ||
<dd>A Haskell program that implements a Haskell typechecker, thus | <dd>A Haskell program that implements a Haskell typechecker, thus | ||
Line 909: | Line 871: | ||
that is familiar to Haskell users.</dd> | that is familiar to Haskell users.</dd> | ||
<dt> | <dt>[http://www.cs.mu.oz.au/~bjpop/hatchet.html Hatchet]</dt> | ||
<dd>Hatchet is a type checking and inference tool for Haskell 98, | <dd>Hatchet is a type checking and inference tool for Haskell 98, | ||
written in (almost) Haskell 98.</dd> | written in (almost) Haskell 98.</dd> | ||
<dt> | <dt>[http://www.cs.chalmers.se/~aarne/BNF/ The BNF | ||
Converter | Converter]</dt> | ||
<dd>A High-Level Tool for Implementing Well-Behaved Programming | <dd>A High-Level Tool for Implementing Well-Behaved Programming | ||
Languages.</dd> | Languages.</dd> | ||
<dt> | <dt>[http://www.cwi.nl/projects/MetaEnv/haterm/ ATerm | ||
Library | Library]</dt> | ||
<dd>ATerms provide a generic format for representation and exchange | <dd>ATerms provide a generic format for representation and exchange | ||
Line 936: | Line 897: | ||
<dl> | <dl> | ||
<dt> | <dt>[http://www.haskell.org/happy/ Happy]</dt> | ||
<dd>Happy is a parser generator system for Haskell, similar to the | <dd>Happy is a parser generator system for Haskell, similar to the | ||
Line 943: | Line 904: | ||
module containing a parser for the grammar.</dd> | module containing a parser for the grammar.</dd> | ||
<dt> | <dt>[http://www.ki.informatik.uni-frankfurt.de/~klose/lucky.html Lucky]</dt> | ||
<dd>A parser generator for Haskell using monadic parser | <dd>A parser generator for Haskell using monadic parser | ||
combinators. It was developed to be compatible with Happy.</dd> | combinators. It was developed to be compatible with Happy.</dd> | ||
<dt> | <dt>[http://www.cs.uu.nl/wiki/Center/UtrechtParserCombinators Utrecht Parser Combinator Library]</dt> | ||
<dd>The combinators in this library analyse the grammar on the fly and build parsers that are quite efficient. An interesting aspect is that parsing results become available on the fly without hanging on to the input. The parsers will give extensive error reports of erroneous situations, and wil proceed with parsing. </dd> | <dd>The combinators in this library analyse the grammar on the fly and build parsers that are quite efficient. An interesting aspect is that parsing results become available on the fly without hanging on to the input. The parsers will give extensive error reports of erroneous situations, and wil proceed with parsing. </dd> | ||
<dt> | <dt>[http://www.cs.ruu.nl/~daan/parsec.html Parsec]</dt> | ||
<dd>A simple, well documented monadic parser combinator library for | <dd>A simple, well documented monadic parser combinator library for | ||
fast parsers with good error messages.</dd> | fast parsers with good error messages.</dd> | ||
<dt> | <dt>[http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/haskell_libs/hsparser.html | ||
HParser]</dt> | |||
HParser | |||
<dd>A parser for Haskell written purely in Haskell (using the Happy | <dd>A parser for Haskell written purely in Haskell (using the Happy | ||
parser generator).</dd> | parser generator).</dd> | ||
<dt> | <dt>[http://www.cse.unsw.edu.au/~chak/haskell/ctk/ CTKlight]</dt> | ||
<dd>Standalone distribution of the self-optimising lexer and parser | <dd>Standalone distribution of the self-optimising lexer and parser | ||
combinators of the Compiler Toolkit (CTK).</dd> | combinators of the Compiler Toolkit (CTK).</dd> | ||
<dt> | <dt>[http://www.haskell.org/alex/ Alex: A Lexical Analyser | ||
Generator | Generator]</dt> | ||
<dd>Alex 2.0 is a Lex-like package for generating Haskell | <dd>Alex 2.0 is a Lex-like package for generating Haskell | ||
scanners.</dd> | scanners.</dd> | ||
<dt> | <dt>[http://www.nondot.org/sabre/Projects/HaskellLexer/ The Haskell | ||
Dynamic Lexer Engine]</dt> | |||
Dynamic Lexer Engine | |||
<dd>This system is completely dynamic: the lexer may be modified at | <dd>This system is completely dynamic: the lexer may be modified at | ||
Line 1,012: | Line 967: | ||
<dl> | <dl> | ||
<dt> | <dt>[http://www.dinkla.net/fp/cglib.html The Library for | ||
Geometric Algorithms | Geometric Algorithms]</dt> | ||
<dd>is a small Haskell library, that contains algorithms for | <dd>is a small Haskell library, that contains algorithms for | ||
Line 1,020: | Line 975: | ||
structure, kd-trees and range-trees.</dd> | structure, kd-trees and range-trees.</dd> | ||
<dt> | <dt>[http://web.archive.org/web/*/http://www.numeric-quest.com/haskell/fractions.html Numerics with | ||
fractions]<em>(since 10/06/2003: via Internet Archive)</em></dt> | |||
fractions | |||
<dt> | <dt>[http://web.archive.org/web/*/http://www.numeric-quest.com/haskell/Roots.html Roots | ||
of polynomials | of polynomials]<em>(since 10/06/2003: via Internet Archive)</em></dt> | ||
<dd>It implements the well known Laguerre's method for finding | <dd>It implements the well known Laguerre's method for finding | ||
complex roots of polynomials.</dd> | complex roots of polynomials.</dd> | ||
<dt> | <dt>[http://web.archive.org/web/*/http://www.numeric-quest.com/haskell/Orthogonals.html Indexless | ||
linear algebra algorithms]<em>(since 10/06/2003: via Internet Archive)</em></dt> | |||
linear algebra algorithms | |||
<dd>Orthogonalization, solution of linear equations, eigenvalues | <dd>Orthogonalization, solution of linear equations, eigenvalues | ||
and eigenvectors.</dd> | and eigenvectors.</dd> | ||
<dt> | <dt>[http://web.archive.org/web/*/http://www.numeric-quest.com/haskell/ State vector | ||
evolution | evolution]<em>(since 10/06/2003: via Internet Archive)</em></dt> | ||
<dt> | <dt>[http://web.archive.org/web/*/http://www.numeric-quest.com/haskell/ Short study of | ||
fuzzy oscillator | fuzzy oscillator]<em>(since 10/06/2003: via Internet Archive)</em></dt> | ||
<dt> | <dt>[http://haskelldsp.sourceforge.net/ Libraries for | ||
digital signal processing]</dt> | |||
digital signal processing | |||
<dd>Modules for matrix manpulation, digital signal processing, spectral | <dd>Modules for matrix manpulation, digital signal processing, spectral | ||
stimation, and frequency estimation.</dd> | stimation, and frequency estimation.</dd> | ||
<dt> | <dt>[http://web.archive.org/web/*/http://www.numeric-quest.com/haskell/Tensor.html N-dimensional | ||
tensors]<em>(since 10/06/2003: via Internet Archive)</em></dt> | |||
tensors | |||
<dt> | <dt>[http://www.info.unicaen.fr/~karczma/arpap/ Papers by | ||
Jerzy Karczmarczuk | Jerzy Karczmarczuk]</dt> | ||
<dd>Some interesting uses of Haskell in mathematics, including | <dd>Some interesting uses of Haskell in mathematics, including | ||
functional differentiation.</dd> | functional differentiation.</dd> | ||
<dt> | <dt>[http://haskell.org/docon/ DoCon]</dt> | ||
<dd>Algebraic Domain Constructor</dd> | <dd>Algebraic Domain Constructor</dd> | ||
Line 1,067: | Line 1,018: | ||
<dl> | <dl> | ||
<dt> | <dt>[http://www.cse.ogi.edu/PacSoft/projects/Hawk/ Hawk, | ||
Specifying and Prototyping Microprocessors | Specifying and Prototyping Microprocessors]</dt> | ||
<dd>The goal of the Hawk project is to develop a language for | <dd>The goal of the Hawk project is to develop a language for | ||
Line 1,076: | Line 1,027: | ||
language is Haskell plus the Hawk library.</dd> | language is Haskell plus the Hawk library.</dd> | ||
<dt> | <dt>[http://www.cs.chalmers.se/~koen/Lava/ Lava]</dt> | ||
<dd>Lava is a hardware description language based upon | <dd>Lava is a hardware description language based upon | ||
Line 1,085: | Line 1,036: | ||
<dl> | <dl> | ||
<dt> | <dt>[http://haskell.org/yampa/ Haskell for Vision and | ||
Robotics | Robotics]</dt> | ||
<dd>Frob is an Embedded Domain Specific Language for controlling | <dd>Frob is an Embedded Domain Specific Language for controlling | ||
Line 1,097: | Line 1,048: | ||
<dl> | <dl> | ||
<dt> | <dt>[http://www2-data.informatik.unibw-muenchen.de/EdComb/ EdComb] | ||
<dd>Editor combinators allow to assemble structure editors compositionally instead of generating them from descriptions, just | <dd>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 | as parsing combinators allow to assemble parsers compositionally instead of employing parser generators to generate | ||
parsers from grammar descriptions. | parsers from grammar descriptions. | ||
<dt> | <dt>[http://ls5-www.cs.uni-dortmund.de/~peter/Expander2/Expander2.html Expander2]</dt> | ||
<dd>Expander2 is a flexible multi-purpose workbench for rewriting, verification, | <dd>Expander2 is a flexible multi-purpose workbench for rewriting, verification, | ||
constraint solving, flow graph analysis and related procedures that | constraint solving, flow graph analysis and related procedures that | ||
Line 1,109: | Line 1,060: | ||
other turtle-system-generated pictures.</dd> | other turtle-system-generated pictures.</dd> | ||
<dt> | <dt>[http://www.cs.vu.nl/Strafunski/ Strafunski]</dt> | ||
<dd>Strafunski is a Haskell bundle that provides support for | <dd>Strafunski is a Haskell bundle that provides support for | ||
Line 1,116: | Line 1,067: | ||
(StrategyLib) and a precompiler (DrIFT-Strafunski).</dd> | (StrategyLib) and a precompiler (DrIFT-Strafunski).</dd> | ||
<dt> | <dt>[http://www.cin.ufpe.br/~haskell/fungen FunGEn - a | ||
game engine for Haskell | game engine for Haskell]</dt> | ||
<dd>FunGEn (Functional Game Engine) is a 2D platform-independent | <dd>FunGEn (Functional Game Engine) is a 2D platform-independent | ||
Line 1,124: | Line 1,075: | ||
in a faster and automated way.</dd> | in a faster and automated way.</dd> | ||
<dt> | <dt>[http://www.haskell.org/crypto The Haskell Cryptographic Library]</dt> | ||
<dd>A library of cryptographic functions collected together in one package.</dd> | <dd>A library of cryptographic functions collected together in one package.</dd> | ||
<dt> | <dt>[http://www.cif.rochester.edu/~sankeld/RSA/ RSA]</dt> | ||
<dd>A number theory library, RSA library, and RSA programs.</dd> | <dd>A number theory library, RSA library, and RSA programs.</dd> | ||
<dt> | <dt>[http://web.comlab.ox.ac.uk/oucl/work/ian.lynagh/ Implementations of MD5, | ||
SHA1 and DES]</dt> | |||
SHA1 and DES | |||
<dt> | <dt>[http://www.dcs.gla.ac.uk/~meurig/regexp/ Regular | ||
expression library | expression library]</dt> | ||
<dd>Inspired by the Perl regular expression library, written purely | <dd>Inspired by the Perl regular expression library, written purely | ||
in Haskell. Also part of the GHC distribution.</dd> | in Haskell. Also part of the GHC distribution.</dd> | ||
<dt> | <dt>[http://www.cl.cam.ac.uk/users/kw217/libs/ Partial | ||
v0.1 | v0.1]</dt> | ||
<dd>The Partial library provides a partial order class. It also | <dd>The Partial library provides a partial order class. It also | ||
Line 1,155: | Line 1,103: | ||
much better job with its layout optimisation algorithm.</dd> | much better job with its layout optimisation algorithm.</dd> | ||
<dt> | <dt>[http://web.archive.org/web/*/http://www.numeric-quest.com/funpdf/ fun->pdf]<em>(since 10/06/2003: via Internet Archive)</em></dt> | ||
<dd>An implementation of a PDF dynamic writer in Haskell.</dd> | <dd>An implementation of a PDF dynamic writer in Haskell.</dd> | ||
<dt> | <dt>[http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/haskell_libs/GetOpt.html | ||
GetOpt]</dt> | |||
GetOpt | |||
<dd>A module for GNU-/POSIX-like option handling of commandline | <dd>A module for GNU-/POSIX-like option handling of commandline | ||
Line 1,185: | Line 1,131: | ||
<ul> | <ul> | ||
<li> | <li>[http://srfi.schemers.org/ Scheme]</li> | ||
<li> | <li>[http://cm.bell-labs.com/cm/cs/what/smlnj/doc/basis/index.html ML]</li> | ||
</ul> | </ul> |
Revision as of 16:44, 18 January 2006
- 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 Library Report (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.
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.
Program Development
- Vital
- Vital is a visual programming environment. It is particularly intended for supporting the open-ended, incremental style of development often preferred by end users (engineers, scientists, analysts, etc.).
- hmake, a Haskell-aware replacement for make
- Automatically keeps track of module dependencies (i.e. no need to write any Makefiles!). Can be used with any of the usual Haskell compilers (ghc, hbc, nhc98).
- cpphs
- Cpphs is a re-implementation (in Haskell) of the C pre-processor.
- DrIFT
- DrIFT is a tool which allows derivation of instances for classes that aren't supported by the standard compilers. In addition, instances can be produced in seperate modules to that containing the type declaration. This allows instances to be derived for a type after the original module has been compiled. As a bonus, simple utility functions can also be produced from a type.
- HaskTags
- Hasktags is a simple program that generates TAGS files for Haskell code. Together with a supporting editor (e.g. NEdit, XEmacs, or Vim) TAGS files can be used to quickly find the places where functions, data constructors etc. are defined.
- tagsh
- A version of the tags program for Haskell. It uses the standardised hssource and posix library, works with GHC 5.02.1. tags file has been checked to work with vim and nedit.
- HaSpell
- HaSpell is a spelling and style checker for Haskell programs. It can detect spelling errors in comments in the program text, and optionally in the code itself. There is an option to detect metasyntactic variables (such as 'foo') and 'bad function prefixes' such as 'compute' and 'doThe' - these make the program less readable and generally indicate bad programming style.
- Uniform Workbench
- This tool is an Integration Framework providing its services in the lazy functional programming language Haskell. The WorkBench provides support for data, control and presentation integration, so that integrated Software Development Environments can be constructed from the basis of prefabricated, off-the-shelf components. We are currently using the WorkBench to construct integrated environments for Haskell program development and for specification and proof of Z specifications.
- Haskell All-In-One
- This Haskell utility takes a program implemented in multiple modules and converts it to a single module.
Integrated Development Environments
- KDevelop
- This IDE supports many languages. For Haskell it currently supports project management, syntax highlighting, building (with GHC) & executing within the IDE.
- Haskell support for Eclipse
- Eclipse is an open, extensible IDE platform for 'everything and nothing in particular'. It is implemented in Java and runs on several platforms. The Java IDE built on top of it has already become very popular among Java developers. The Haskell tools extend it to support editing (syntax coloring, code assist), compiling, and running Haskell programs from within the IDE. More features like source code navigation, module browsing etc. will be added in the future.
- hIDE
- hIDE is a GUI-based Haskell IDE written using gtk+hs. It does not include an editor but instead interfaces with NEdit, vim or GNU emacs.
- JCreator with Haskell support
- JCreator is a highly customizable Java IDE for Windows.
Features include extensive project support, fully customizable
toolbars (including the images of user tools) and menus,
increase/decrease indent for a selected block of text
(tab/shift+tab respectively). The Haskell support module adds
syntax highlighting for haskell files and winhugs, hugs, a static
checker (if you double click on the error message, JCreator will
jump to the right file and line and highlight it yellow) and the
Haskell 98 Report as tools. Platforms: Win95, Win98, WinNT and
Win2000 (only Win95 not tested yet). Size: 6MB.
JCreator is a trademark of Xinox Software; Copyright © 2000 Xinox Software
The Haskell support module is made by [http://www.students.cs.uu.nl/people/rjchaaft/ Rijk-Jan van Haaften].
Editor Modes for syntax highlighting and more
- For SubEthaEdit (Mac OS X editor):
- Haskell mode.
- For KDE's Kate
-
- [http://www.informatik.uni-bonn.de/~ralf/software.html#syntax Files] by Ralf Hinze.
- [hs.xml hs.xml] and [lhs.xml lhs.xml] by Brian Huffman.
- NEdit syntax highlighting and block comment support.
- vim syntax highlighting
-
- by Don Stewart: for TeX and cpp style Haskell files.
- by Ian Lynagh: distinguishes different literal Haskell styles.
- by John Williams: Both regular Haskell [haskell.vim .hs] and [lhaskell.vim .lhs] files that uncomment lines using '>' are supported.
- [Haskell98.syn Syntax highlighting file] for <a href="http://www.textpad.com">textpad</a>
- by Jeroen van Wolffelaar and Arjan van IJzerdoorn, which inludes all prelude functions, datatype, constructors, etc, all in seperate groups.
- [http://www.astercity.net/~khaliff/haskell/haskellmode.tgz Haskell mode]
- for jed by Marcin 'Qrczak' Kowalczyk.
- [http://www.haskell.org/haskell-mode/ Haskell Mode for Emacs]
- Supports font locking, declaration scanning, documentation of types, indentation and interaction with Hugs.
- Alternative [hugs-mode.el Hugs Mode for Emacs] by Chris Van Humbeeck
- Provides fontification and cooperation with Hugs. Updated for emacs 20.* by Adam P. Jenkins.
Some other, mostly obsolete, modes are available in [http://cvs.haskell.org/cgi-bin/cvsweb.cgi/fptools/CONTRIB/haskell-modes/ CVS].
Typesetting Haskell in TeX
- lambdaTeX
- A TeX package for typesetting literate scripts in TeX. The output looks much like the code from Chris Okasaki's book "Purely Functional Data Structures", doing syntax highlighting and converting ASCII art such as"->" or "alpha" to proper mathematical symbols. It should work with both LaTeX and plain TeX, and it does its magic without any annotations, directly on the source code (lambdaTeX uses an almost-complete Haskell lexical analyzer written entirely in plain TeX). You only have to add \input lambdaTeX at the top of your source file, and manually typeset your literate comments so they look as good as the source code.
- [http://www.cse.unsw.edu.au/~chak/haskell/haskell-style.html Haskell Style for LaTeX2e]
- by Manuel Chakravarty provides environments and macros that simplify setting Haskell programs in LaTeX.
- lhs2tex
- A preprocessor for typesetting Haskell programs that combines some of the good features of pphs and smugweb. It generates LaTeX code from literate Haskell sources.
- [http://www.acooke.org/jara/pancito/haskell.sty haskell.sty]
- A Latex style file by Andrew Cooke that makes literal programming in Haskell simple.
Source documentation and browsing
- Haddock A Haskell Documentation Tool
- A tool for automatically generating documentation from annotated Haskell source code. It is primary intended for documenting libraries, but it should be useful for any kind of Haskell code. Haddock lets you write documentation annotations next to the definitions of functions and types in the source code, in a syntax that is easy on the eye when writing the source code (no heavyweight mark-up). The documentation generated by Haddock is fully hyperlinked - click on a type name in a type signature to go straight to the definition, and documentation, for that type.
- IDoc A No Frills Haskell Interface Documentation System
- IDoc extracts interface documentation and declarations from Haskell modules based on standard Haskell layout rules and a small number of clues that the programmer embeds in interface comments. These clues have been designed to be visually non-imposing when displaying the source in a text editor. Interface documentation is rendered in standard markup languages (currently, only HTML is supported). IDoc has been designed to be simple to use and install.
- HDoc
- HDoc generates documentation in HTML format for Haskell modules. The generated documents are cross linked and include summaries and detailed descriptions for the documented functions, data types, type classes and instance declarations.
- HaskellDoc
- This program generates an HTML document showing the module interfaces of a Haskell project. Convenient links are placed for easy browsing of the different modules of the project, and for quick access to the source code.
- [http://web.archive.org/web/*/http://www.numeric-quest.com/haskell/explorer/browser.html The Haskell Module Browser](since 10/06/2003: via Internet Archive)
- A browser similar to Smaltalk and Eiffel class browsers.
Testing
- HUnit
- A unit testing framework for Haskell, similar to JUnit for Java. With HUnit, the programmer can easily create tests, name them, group them into suites, and execute them, with the framework checking the results automatically. Test specification is concise, flexible, and convenient.
- QuickCheck
- A tool for testing Haskell programs automatically. The programmer provides a specification of the program, in the form of properties which functions should satisfy, and QuickCheck then tests that the properties hold in a large number of randomly generated cases. Specifications are expressed in Haskell, using combinators defined in the QuickCheck library. QuickCheck provides combinators to define properties, observe the distribution of test data, and define test data generators.
Tracing & debugging
Tracing gives access to otherwise invisible information about a computation. Conventional debuggers allow the user to step through the program computation, stop at given points and examine variable contents. This tracing method is quite unsuitable for Haskell, because its evaluation order is complex, function arguments are usually unwieldy large unevaluated expressions and generally computation details do not match the user's high-level view of functions mapping values to values.
- Buddha
- Buddha is a declarative debugger for Haskell 98 programs. It presents the evaluation of a Haskell program as a series of function applications. A typical debugging session involves a series of questions and answers. The questions are posed by the debugger, and the answers are provided by the user. The implementation of Buddha is based on program transformation.
- Freja
- A compiler for a subset of Haskell. Running a compiled program creates an evaluation dependency tree as trace, a structure based on the idea of declarative debugging from the logic programming community. A debugging session consists of the user answering a sequence of yes/no questions.
- Hat
- A Haskell program is first transformed by hat-trans and then compiled with nhc98 or ghc. At runtime the program writes a trace file. There are tools for viewing the trace in various ways: Hat-stack shows a virtual stack of redexes. Hat-observe shows top-level functions in the style of Hood. Hat-trail enables exploring a computation backwards, starting from (part of) a faulty output or an error message. Hat-detect provides algorithmic debugging in the style of Freja. Hat-explore allows free navigation through a computation similar to traditional debuggers and algorithmic debugging and slicing.
- Hood
- A library that permits to observe data structures at given program points. It can basically be used like print statements in imperative languages, but the lazy evaluation order is not affected and functions can be observed as well.
- GHood
- "Graphical Hood" - a Java-based graphical observation event viewer, building on Hood.
Data structures
- Edison
- Chris Okasaki is developing a library of efficient data structures. It provides sequences, finite maps, priority queues, and sets/bags. (overview paper).
- [http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/haskell_libs/Binary.html Binary/BinArray library]
- A port of Malcolm Wallace's Binary library for NHC13, offering facilities for heap compression and binary I/O. A related library, BinArray, uses Binary to implement imperative binary arrays.
- [http://www.cs.orst.edu/~erwig/fgl/ FGL - A Functional Graph Library]
- The functional graph library provides a collection of graph operations.
- Strafunski
- A bundle for generic programming. It provides programming support for generic traversal as useful in the implementation of program transformations.
- The Haskell STate Preprocessor
- This is a short preprocessor for stateful Haskell programs. It aleviates the pain of performing single array lookup/write/update functions with some syntax to support it. It also supports hash table operations based on the HashTable implementation available from the author. Finally, it supports monadic if and monadic case constructions. It is lightweight in the sense that it performs no syntactic analysis and is essentially a character transformer.
Extended Haskell
The purpose of these systems is to enhance the capabilities of Haskell in some way. These are not targeted at any specific application domains.
- PFP
- The PFP library is a collection of modules for Haskell that facilitates probabilistic functional programming, that is, programming with stochastic values. The probabilistic functional programming approach is based on a data type for representing distributions. A distribution represent the outcome of a probabilistic event as a collection of all possible values, tagged with their likelihood. A nice aspect of this system is that simulations can be specified independently from their method of execution. That is, we can either fully simulate or randomize any simulation without altering the code which defines it.
- HaRP
- A Haskell extension that extends the normal pattern matching facility with the power of regular expressions.
- Arrows
- Ross Patterson has developed a preprocessor that provides a nice notation for Arrows, a generalization of monads.
- Functional Reactive Programming
- Functional reactive programming integrates time flow into functional programming. This provides an elegant way to express computation in domains such as interactive animations, robotics, computer vision, user interfaces, and simulation. The Yampa system is an implementation of FRP based on arrows.
Interfacing with other languages and systems
- HaXR - the Haskell XML-RPC library
- An XML-RPC client and server library. XML-RPC is "remote procedure calling using HTTP as the transport and XML as the encoding. XML-RPC is designed to be as simple as possible, while allowing complex data structures to be transmitted, processed and returned."
Tools for interfacing with other languages
The definition of a basic [http://www.cse.unsw.edu.au/~chak/haskell/ffi/ foreign function interface for Haskell (FFI)] is finished. It has been agreed on and implemented by most Haskell implementors. The following tools already produce code for this interface. The <A HREF="http://www.reid-consulting-uk.ltd.uk/docs/ffi.html">Guide to Haskell's Foreign Function Interface</A> provides a comparision of the different tools.
- Green Card
- Green Card is a foreign function interface preprocessor for Haskell, simplifying the task of interfacing Haskell programs to external libraries (which are normally exposed via C interfaces). Green Card is currently able to generate code compatible with the [../implementations.html#ghc Glasgow Haskell Compiler], [../implementations.html#hugs Hugs] and [../implementations.html#nhc nhc].
- HaskellDirect
- HaskellDirect is an Interface Definition Language (IDL) compiler for Haskell, which helps interfacing Haskell code to libraries or components written in other languages (C). An IDL specification specifies the type signatures and types expected by a set of external functions. One important use of this language neutral specification of interfaces is to specify COM (Microsoft's Component Object Model) interfaces, and HaskellDirect offers special support for both using COM objects from Haskell and creating Haskell COM objects. HaskellDirect groks both the OSF DCE dialect of IDL (including the various extensions introduced by the Microsoft IDL compiler) and the OMG IIOP/CORBA dialect.
- C->Haskell
- A lightweight tool for implementing access to C libraries from Haskell.
- HSFFIG
- Haskell FFI Binding Modules Generator (HSFFIG) is a tool that takes a C library include file (.h) and generates Haskell Foreign Functions Interface import declarations for items (functions, structures, etc.) the header defines.
- GCJNI
- A Java Native Interface for Haskell. Allows Haskell to invoke Java code. Includes a tool to generate Haskell bindings for a Java library. Works for hugs and ghc under both Linux and Windows.
- [http://sourceforge.net/projects/jvm-bridge/ Haskell/Java VM Bridge]
- A bridge to the Java virtual machine via JNI for Haskell.
- HaskellScript
- HaskellScript is the collective name for all Haskell components, both tools and libararies, that allow interaction with the COM/ActiveX framework.
- KDirect
- A tool to simplify the process of interfacing C libraries to Haskell. It is less powerful than HaskellDirect, but easier to use and more portable.
Interfaces to specific systems
- hs-plugins
- A library for compiling and loading plugins into a running Haskell program.
- HsShellScript
- A library for using Haskell for tasks which are usually done by shell scripts, e.g. command line parsing, analysing paths, etc.
- [http://www.cse.ogi.edu/~erik/Personal/cgi.htm CGI Library]
- CGI programs can receive input from the client's web browser, encoded in a complicated fashion, and can write output in a variety of formats (plain text, HTML, JPEG etc) which the client then sees. The decoding and encoding of the IO is often expressed in PERL or C, and makes CGI applications tedious and awkward to write. Haskell/CGI is a library for writing CGI programs in Haskell 1.3 and above.
- [http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/haskell_libs/CGI.html CGI Library]
- An all-in-one-file version of Erik Meijer's CGI library (above) with some bugs fixed, a few extensions and ported to Haskell 98.
- [http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/haskell_libs/daVinci.html daVinci binding]
- A binding to daVinci, an X-Windows based visualization tool for directed graphs.
- hMPI
- 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.
- popenhs
- A small library, based on runProcess in the standardised posix library. It provides lazy output from subprocesses.
- haskell-corba
- This package allows Haskell programmers to write CORBA clients and servers using the [http://www.mico.org MICO open-source CORBA implementation]. It defines a Haskell language mapping for CORBA, and includes an IDL compiler which generates Haskell stub and skeleton modules from IDL files.
Interfacing with databases
- HSQL
- HSQL is a simple library which provides an interface to multiple databases. MySQL, PostgreSQL, ODBC and SQLite are currently supported. It is part of HToolkit.
- Takusen
- A library to interface to the Oracle DBMS. Part of the Haskell-Libs project.
- HaskellDB
- An updated version of Daan Leijen's HaskellDB that works with current Haskell implementations and is relatively platform-independent.
HaskellDB is a combinator library for expressing queries and other operations on relational databases in a type safe and declarative way. All the queries and operations are completely expressed within Haskell, no embedded (SQL) commands are needed. This close integration makes it possible to do arbitrary computations on the database (like computing the transitive closure).
- HaSQL
- HaSQL is a Haskell to ODBC interface. HaSQL allows Haskell program to run SQL queries against an ODBC compliant database. Queries with parameters are supported. Data is retrieved from the database as a lazy list.
- [http://www.astercity.net/~khaliff/haskell/dbi/dbi.tgz libpq binding]
- A Haskell binding to libpq, a client-side PostgreSQL programming library, together with a simple DBI for Haskell. It enables the programmer to write database-independent code.
Graphical User Interface and graphics libraries
There exists a large number of gui and graphics libraries for Haskell. Unfortunately there is no standard one and all are more or less incomplete. The following list gives an overview. In general, low-level veneers are going well, but they are low level. High-level abstractions are pretty experimental. There is a need for a supported medium-level GUI library.
High-level: | FranTk | Fudgets | (Haggis) | |
---|---|---|---|---|
Medium-level: | wxHaskell | Gtk2HS | HGL (graphics only) | Object I/O |
Low-level veneers: | HOpenGL (graphics only) | TclHaskell | Win32 | X11 |
Graphical User Interface Libraries
- wxHaskell
- wxHaskell is a portable and native GUI library built on top of wxWindows - a comprehensive C++ library that is portable across all major GUI platforms; including GTK, Windows, X11, and MacOS X. wxWindows is a mature library (in development since 1992) that supports a wide range of widgets with the native look-and-feel, and it has a very active community.
- Gtk2Hs
- Gtk2Hs is a GUI library for Haskell based on Gtk+. Gtk+ is an extensive and mature multi-platform toolkit for creating graphical user interfaces. Gtk2Hs is actively developed, supporting the latest version of the Gtk+ 2.x series. It provides automatic memory management, Unicode support and also bindings for various Gnome modules. It runs on Windows, Linux, MacOS X, FreeBSD and Solaris.
- HToolkit
- HToolkit is a portable Haskell library for writing graphical user interfaces (GUI's). The library is built upon a low-level interface that will be implemented for each different target platform. The low-level library is called Port and is currently implemented for GTK and Windows. The middle-level library is named GIO (the Graphical IO library) and is built upon the low-level Port library.
- HTk
- Htk is a typed, portable encapsulation of Tcl/Tk into Haskell. Its distinctive features are the use of Haskell types and type classes for structuring the interface, an abstract notion of event for describing user interaction, and portability across Windows, Unix and Linux.
- TclHaskell
- TclHaskell is a library of functions for writing platform
independent, graphical user interfaces in Haskell. The library
provides a convenient, abstract and high-level way to write
window-oriented applications. It also provides a more low level
interface to write primitive Tcl code where helpful.
For Unix and Windows (and Macintosh?). - Fudgets
- Fudgets is primarily a Graphical User Interface Toolkit for the
functional programming language Haskell and the X Windows system.
Fudgets also makes it easy to create client/server applications
that communicate via the Internet.
- Programming with Fudgets: A short presentation of the Fudget Library and the ideas underlying it.
- FranTk
- is a library for building GUIs in Haskell. FranTk uses
behaviours and events, concepts from Conal Elliot's Functional
Reactive Animation. FranTk provides good support for developing
complex dynamic systems, and is built on top of Tcl-Tk. This makes
it platform independent. FranTk was developed by Meurig Sage.
For Unix and Windows. - Object I/O for Haskell
- A port of Clean Object I/O library for Haskell
Unsupported GUI-libraries
The following libraries seem to be no longer maintained. However, someone might pick up one of them or at least profit from some design ideas.
- Gtk+HS a Haskell binding for GTK+
- This library provides a transcription of the original GTK+ API
into Haskell. GTK+ is a modern, portable GUI library and forms the
basis of the Gnome desktop project. The binding, while not
complete, covers most of GTK+'s core functionality and is ready for
use in applications that require a GUI of medium complexity.
Developed under Unix, but should also be usable with the Windows port of GTK+. - iHaskell
- A functional wrapper on top of GTK+HS that provides convenience functions for frequently used programming patterns and eliminates the need for explicit mutable variables.
- Haggis
- Haggis is a graphical user interface framework for the functional language Haskell, running under the X Window system. It is being developed using the Glasgow Haskell Compiler with its concurrent extensions to achieve more comfortable interaction with the outside world.
- Haskell-Tk
- is a concurrent, strongly typed and higher order encapsulation of Tk that supports the definition of user dialogues. Einar Karlsson developed it for his UniForm WorkBench.
- Pidgets
- developed by Enno Scholz unifies pictures and widgets in a constraint-based framework for concurrent functional GUI programming.
- Budgets
- A library of Fudget-like combinators based on the Openlook widget library was developed by Alastair Reid and Satnam Singh. The code has suffered tremendous bit-rot (does anyone have a copy of ghc-0.16?) but all the reusable ideas are described in the paper.
- Embracing Windows
- is a framework for developing graphical user interfaces. It runs under Windows 95 using a modified version of Hugs 1.3.
- Gadgets
- Lazy functional components for graphical user interfaces, developed by Rob Noble under the supervision of Colin Runciman (LNCS 982, pages 321-340).
Graphics
- The Hugs Graphics Library
- The Hugs Graphics Library supports 2-dimensional graphics operations, timers, mouse and keyboard actions and multiple windows. It runs on Hugs under both Win32 and X11. An earlier version was used for early prototypes of Fran.
- Haven
- Scalable Vector Graphics for Haskell. Portable, device-independent, resolution-independent library, including support for affine transformations, Bezier curves, fine-grained control of pen attributes, bounds and intersection tests, constructive area geometry, anti-aliased rendering, outline fonts, etc.
- Functional Metapost
- Functional Metapost is a Haskell binding for MetaPost, the powerful but cumbersome graphics language.
- Functional Reactive Animation
- FRAN is a Haskell library (or "embedded language") for interactive animations with 2D and 3D graphics and sound. It runs on Hugs under Windows 95 and Windows NT, using Win32 graphics (GDI).
- Pan
- An embedded language and highly optimizing compiler for image synthesis and transformation, based on the simple idea of images as functions over infinite, continuous 2D space. The resulting binaries can be used as PhotoShop plugins, embedded in web pages or PowerPoint, or used in an interactive standalone viewer. The compiler contains no domain-specific knowledge, so it's very extensible. See the gallery for visual examples. Currently Windows-only, but ports are encouraged.
- Pan#
- Pan# is a slightly re-engineered version of Pan. It uses the same compiler but used the Microsoft .NET framework instead of visual studio, making it easier to install and use. It also has a number of new features added. While Pan is embedded in Haskell, Pan# has its own Haskell-like language built in so there is no need to use other Haskell compilers. Currently Windows-only.
- Pancito
- Pancito is a Haskell module for manipulating functional images and then saving them to disk. It was inspired by Pan.
- HOpenGL
- HOpenGL is a Haskell binding for the OpenGL graphics API (GL 1.2.1 / GLU 1.3) and the portable OpenGL utility toolkit GLUT.
Graphics File Formats
- Gif Writer(since 10/06/2003: via Internet Archive; this library is no longer available!)
- A simple tool - capable of producing GIF based plots from within Haskell programs. Such plots can be then incorporated into HTML reports, to literate Haskell programs, or to combination of both.
- Functional Specification of the JPEG algorithm, and an Implementation for Free
- JPEG encoding Written in Gofer.
Web, HTML, XML
- [http://www.haskell.org/http/ HTTP and Browser Modules]
- A significantly RFC compliant HTTP/1.1 implementation. This is an updated version of Warrick Gray's original version.
- WASH
- A family of combinator libraries for programming Web applications. WASH/HTML is for generating dynamic HTML documents, combining flexibility and safety. WASH/CGI is for server-side Web scripting with sessions, compositional forms, and graphics.
- [http://www.cs.york.ac.uk/fp/HaXml/ HaXml: utilities for using XML with Haskell]
- Includes an XML parser, an HTML parser, a pretty-printer, a combinator library for generic XML transformations, and two Haskell>-<XML converters using type-based translation.
- [http://www.cse.ogi.edu/~andy/html/intro.htm The Haskell Html Library] by Andy Gill
- This library is a collection of combinators, allowing your Haskell programs to generate HTML.
- [ http://www.fh-wedel.de/~si/HXmlToolbox/ Haskell XML Toolbox]
- The Haskell XML Toolbox bases on the ideas of HaXml and HXML, but introduces a more general approach for processing XML with Haskell. The Haskell XML Toolbox uses a generic data model for representing XML documents, including the DTD subset and the document subset, in Haskell.
- [http://www.cse.ogi.edu/~erik/Personal/cgi.htm CGI Library]
- CGI programs can receive input from the client's web browser, encoded in a complicated fashion, and can write output in a variety of formats (plain text, HTML, JPEG etc) which the client then sees. The decoding and encoding of the IO is often expressed in PERL or C, and makes CGI applications tedious and awkward to write. Haskell/CGI is a library for writing CGI programs in Haskell 1.3 and above.
- [http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/haskell_libs/CGI.html CGI Library]
- An all-in-one-file version of Erik Meijer's CGI library (above) with some bugs fixed, a few extensions and ported to Haskell 98.
- [hoyweghenThesis.zip Generative Implementation Strategies for Data-Centric Web Applications]
- Generic presentation layer abstractions of administrative web applications are the central theme of this thesis. The domain-engineering approach results in a framework to support user interfaces generated from high-level descriptions. A domain-specific language describes user interfaces. The [hoyweghenSoft.zip Haskell-based generator] transforms these descriptions to user interfaces implemented with JavaScript and XHTML.
Pretty-printer libraries
- [http://research.microsoft.com/~simonpj/downloads/pretty-printer/pretty.html Pretty printer library]
- Simon Peyton Jones made an "industrial strength" pretty printing library in Haskell, based on John Hughes's paper "The Design of a Pretty-printing Library" (in Advanced Functional Programming, Johan Jeuring and Erik Meijer (eds), LNCS 925). <a href="http://www.md.chalmers.se/~rjmh/Software/NewPP.hs">Original version by John Hughes</a>.
- [http://www.cs.uu.nl/groups/ST/Software/PP/ Pretty-printing combinators]
- The combinators in the library are optimal in the sense that they produce the layout with the smallest height possible. They also allow the programmer to specify several different layouts.
- PPrint
- PPrint is an implementation of the pretty printing combinators described by Philip Wadler. The PPrint library adds new primitives to describe commonly occuring layouts and works well in practice.
Compiler and compilation tools
- [http://www.cse.unsw.edu.au/~chak/haskell/ctk/ Manuel Chakravarty's Compiler Toolkit]
- There is a significant set of functionality that is required in each compiler like symbol table management, input-output operations, error management, and so on, which are good candidates for code reuse. The Compiler Toolkit is an attempt to provide an open collection of modules for these recurring tasks in Haskell.
- [http://www.cs.princeton.edu/zephyr/ASDL/ The Zephyr Abstract Syntax Description Lanuguage (ASDL)]
- ASDL is a language designed to describe the tree-like data structures in compilers. Its main goal is to provide a method for compiler components written in different languages to interoperate. ASDL makes it easier for applications written in a variety of programming languages to communicate complex recursive data structures. asdlGen is a tool that takes ASDL descriptions and produces implementations of those descriptions in C, C++, Java, Standard ML, and Haskell.
- [http://www.cse.ogi.edu/~mpj/thih/ Typing Haskell in Haskell]
- A Haskell program that implements a Haskell typechecker, thus providing a mathematically rigorous specification in a notation that is familiar to Haskell users.
- Hatchet
- Hatchet is a type checking and inference tool for Haskell 98, written in (almost) Haskell 98.
- [http://www.cs.chalmers.se/~aarne/BNF/ The BNF Converter]
- A High-Level Tool for Implementing Well-Behaved Programming Languages.
- [http://www.cwi.nl/projects/MetaEnv/haterm/ ATerm Library]
- ATerms provide a generic format for representation and exchange of (annotated) terms. ATerms were developed in the context of the ASF+SDF Meta-Environment. They are also used by the rewriting language Stratego, by the transformation tool bundle XT, by the visitor generator JJForester, and by numerous other tools developed at CWI, Universiteit Utrecht, and elsewhere.
Scanner and parser generators
- Happy
- Happy is a parser generator system for Haskell, similar to the tool `yacc' for C. Like `yacc', it takes a file containing an annotated BNF specification of a grammar and produces a Haskell module containing a parser for the grammar.
- Lucky
- A parser generator for Haskell using monadic parser combinators. It was developed to be compatible with Happy.
- Utrecht Parser Combinator Library
- The combinators in this library analyse the grammar on the fly and build parsers that are quite efficient. An interesting aspect is that parsing results become available on the fly without hanging on to the input. The parsers will give extensive error reports of erroneous situations, and wil proceed with parsing.
- Parsec
- A simple, well documented monadic parser combinator library for fast parsers with good error messages.
- [http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/haskell_libs/hsparser.html HParser]
- A parser for Haskell written purely in Haskell (using the Happy parser generator).
- CTKlight
- Standalone distribution of the self-optimising lexer and parser combinators of the Compiler Toolkit (CTK).
- [http://www.haskell.org/alex/ Alex: A Lexical Analyser Generator]
- Alex 2.0 is a Lex-like package for generating Haskell scanners.
- [http://www.nondot.org/sabre/Projects/HaskellLexer/ The Haskell Dynamic Lexer Engine]
- This system is completely dynamic: the lexer may be modified at runtime, and string buffers may be lexed by different lexers at different times.
Music
- The Haskore Computer Music System
- Haskore is a collection of Haskell modules designed for expressing musical structures in the high-level, declarative style of functional programming. Haskore is a means for describing music - in particular Western Music - rather than sound. It is not a vehicle for synthesizing sound produced by musical instruments, for example, although it does capture the way certain (real or imagined) instruments permit control of dynamics and articulation. Haskore compositions can be translated into various executable formats like MIDI and printed in traditional notation.
- HasChorus
- A set of Haskell modules written on top of Haskore to make it easier to sequence simple, repetitive music.
Numerical algorithms and mathematics
- [http://www.dinkla.net/fp/cglib.html The Library for Geometric Algorithms]
- is a small Haskell library, that contains algorithms for two-dimensional convex hulls, triangulations of polygons, Voronoi-diagrams and Delaunay-triangulations, the QEDS data structure, kd-trees and range-trees.
- [http://web.archive.org/web/*/http://www.numeric-quest.com/haskell/fractions.html Numerics with fractions](since 10/06/2003: via Internet Archive)
- [http://web.archive.org/web/*/http://www.numeric-quest.com/haskell/Roots.html Roots of polynomials](since 10/06/2003: via Internet Archive)
- It implements the well known Laguerre's method for finding complex roots of polynomials.
- [http://web.archive.org/web/*/http://www.numeric-quest.com/haskell/Orthogonals.html Indexless linear algebra algorithms](since 10/06/2003: via Internet Archive)
- Orthogonalization, solution of linear equations, eigenvalues and eigenvectors.
- [http://web.archive.org/web/*/http://www.numeric-quest.com/haskell/ State vector evolution](since 10/06/2003: via Internet Archive)
- [http://web.archive.org/web/*/http://www.numeric-quest.com/haskell/ Short study of fuzzy oscillator](since 10/06/2003: via Internet Archive)
- [http://haskelldsp.sourceforge.net/ Libraries for digital signal processing]
- Modules for matrix manpulation, digital signal processing, spectral stimation, and frequency estimation.
- [http://web.archive.org/web/*/http://www.numeric-quest.com/haskell/Tensor.html N-dimensional tensors](since 10/06/2003: via Internet Archive)
- [http://www.info.unicaen.fr/~karczma/arpap/ Papers by Jerzy Karczmarczuk]
- Some interesting uses of Haskell in mathematics, including functional differentiation.
- DoCon
- Algebraic Domain Constructor
Hardware verification
- [http://www.cse.ogi.edu/PacSoft/projects/Hawk/ Hawk, Specifying and Prototyping Microprocessors]
- The goal of the Hawk project is to develop a language for expressing highly abstracted specifications of modern microprocessor designs, to provide design teams with the ability to dynamically explore a wide range of design choices. The Hawk language is Haskell plus the Hawk library.
- Lava
- Lava is a hardware description language based upon Haskell.
Robots
- [http://haskell.org/yampa/ Haskell for Vision and Robotics]
- Frob is an Embedded Domain Specific Language for controlling
robots. It is built using the principals of Functional Reactive
Programming, as developed by Conal Elliott for the Fran animation
system. The current incarnation of Frob is part of the Yampa FRP system.
Various
- EdComb
- 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
- 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
- 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).
- [http://www.cin.ufpe.br/~haskell/fungen 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.
- RSA
- A number theory library, RSA library, and RSA programs.
- [http://web.comlab.ox.ac.uk/oucl/work/ian.lynagh/ Implementations of MD5, SHA1 and DES]
- [http://www.dcs.gla.ac.uk/~meurig/regexp/ Regular expression library]
- Inspired by the Perl regular expression library, written purely in Haskell. Also part of the GHC distribution.
- [http://www.cl.cam.ac.uk/users/kw217/libs/ 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.
- [http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/haskell_libs/GetOpt.html GetOpt]
- 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