Haddock | |
Developer: | Simon Marlow |
Released: | May 1, 2002 |
Operating System: | Cross-platform |
Platform: | x86, PowerPC |
Programming Language: | Haskell |
Genre: | Documentation generation |
License: | BSD-style license |
Website: | http://haskell.org/haddock/ |
Haddock is a free, portable[1] command-line program documentation generator for Haskell.
It is influenced by IDoc,[2] HDoc,[3] and Doxygen.[4] It produces hyperlinked HTML files from annotated Haskell (the documentation is embedded in comments) source files, with additional information extracted from type annotations; it supports only partially generating documentation in SGML. It is often used in conjunction with darcs and Cabal. It is dependent on Glasgow Haskell Compiler (GHC), using a modified form of the HsParser (written in Happy) parser for Haskell included in GHC. Its lightweight markup is based on IDoc's.[5] Haddock is contained in the Haskell Platform.
It is used by the GHC, Gtk2Hs and HTk projects,[6] as well as xmonad.
Here is an example of Haddock markup: