Haddock is a free, portable[2] command-line program documentation generator for Haskell.
It is influenced by IDoc,[3] HDoc,[4] and Doxygen.
[5] 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 dependent on Glasgow Haskell Compiler (GHC), using a modified form of the HsParser (written in Happy) parser for Haskell included in GHC.
[6] Haddock is contained in the Haskell Platform.