encyclopegia.org

Haddock (software)

Haddock is a free, portable command-line program documentation generator for Haskell.

Haddock is a free, portable command-line program documentation generator for Haskell. ==Software== It is influenced by IDoc, HDoc, and Doxygen. 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. Haddock is contained in the Haskell Platform. It is used by the GHC, Gtk2Hs and HTk projects, as well as xmonad. Here is an example of Haddock markup: -- | This is the documentation for 'square', which -- uses the (*) operator from "Prelude". -- It multiplies the @x@ argument against itself. square :: Integer -> Integer square x = x*x ==References== ==External links==

References

  1. Haddock runs on POSIX -compliant operating systems and Microsoft Windows . Wikipedia revision 1353806481, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1353806481
    Cite this reference

    MLA "Haddock runs on POSIX -compliant operating systems and Microsoft Windows . Wikipedia revision 1353806481, retrieved 2026-11-19." Haddock runs on POSIX -compliant operating systems and Microsoft Windows. 2026-11-18. https://en.wikipedia.org/wiki/POSIX. Accessed 24 November 2026.

    Chicago "Haddock runs on POSIX -compliant operating systems and Microsoft Windows . Wikipedia revision 1353806481, retrieved 2026-11-19." Haddock runs on POSIX -compliant operating systems and Microsoft Windows. 2026-11-18. https://en.wikipedia.org/wiki/POSIX.

    APA Haddock runs on POSIX -compliant operating systems and Microsoft Windows. (2026). Haddock runs on POSIX -compliant operating systems and Microsoft Windows . Wikipedia revision 1353806481, retrieved 2026-11-19. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/POSIX

  2. IDoc Manual - Installation · retrieved 2026-11-18 · rev 1353806481
    Cite this reference

    MLA "IDoc Manual - Installation." 2026-11-18. http://www.cse.unsw.edu.au/~chak/haskell/idoc/doc/install.html. Accessed 24 November 2026.

    Chicago "IDoc Manual - Installation." 2026-11-18. http://www.cse.unsw.edu.au/~chak/haskell/idoc/doc/install.html.

    APA encyclopegia.org. (2026). IDoc Manual - Installation. Retrieved November 24, 2026, from http://www.cse.unsw.edu.au/~chak/haskell/idoc/doc/install.html

  3. Homepage of Armin Größlinger · retrieved 2007-02-16 · rev 1353806481
    Cite this reference

    MLA "Homepage of Armin Größlinger." 2007-02-16. https://web.archive.org/web/20061223122531/http://www.fmi.uni-passau.de/~groessli/hdoc/. Accessed 24 November 2026.

    Chicago "Homepage of Armin Größlinger." 2007-02-16. https://web.archive.org/web/20061223122531/http://www.fmi.uni-passau.de/~groessli/hdoc/.

    APA encyclopegia.org. (2007). Homepage of Armin Größlinger. Retrieved November 24, 2026, from https://web.archive.org/web/20061223122531/http://www.fmi.uni-passau.de/~groessli/hdoc/

  4. "Haddock is being used to document the new hierarchical Haskell libraries. The documentation generated for the libraries shipped with the latest release of GHC is here. The Gtk2Hs project is using Haddock to build reference documentation. The HTk project is using Haddock to generate its library documentation." From the Haddock homepage . Wikipedia revision 1353806481, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1353806481
    Cite this reference

    MLA ""Haddock is being used to document the new hierarchical Haskell libraries. The documentation generated for the libraries shipped with the latest release of GHC is here. The Gtk2Hs project is using Haddock to build reference documentation. The HTk project is using Haddock to generate its library documentation." From the Haddock homepage . Wikipedia revision 1353806481, retrieved 2026-11-19." "Haddock is being used to document the new hierarchical Haskell libraries. 2026-11-18. http://haskell.org/haddock/. Accessed 24 November 2026.

    Chicago ""Haddock is being used to document the new hierarchical Haskell libraries. The documentation generated for the libraries shipped with the latest release of GHC is here. The Gtk2Hs project is using Haddock to build reference documentation. The HTk project is using Haddock to generate its library documentation." From the Haddock homepage . Wikipedia revision 1353806481, retrieved 2026-11-19." "Haddock is being used to document the new hierarchical Haskell libraries. 2026-11-18. http://haskell.org/haddock/.

    APA "Haddock is being used to document the new hierarchical Haskell libraries. (2026). "Haddock is being used to document the new hierarchical Haskell libraries. The documentation generated for the libraries shipped with the latest release of GHC is here. The Gtk2Hs project is using Haddock to build reference documentation. The HTk project is using Haddock to generate its library documentation." From the Haddock homepage . Wikipedia revision 1353806481, retrieved 2026-11-19. Retrieved November 24, 2026, from http://haskell.org/haddock/

  5. 1.3. Contributors · retrieved 2026-11-18 · rev 1353806481
    Cite this reference

    MLA "1.3. Contributors." "1. 2026-11-18. http://haskell.org/haddock/doc/html/ch01s03.html. Accessed 24 November 2026.

    Chicago "1.3. Contributors." "1. 2026-11-18. http://haskell.org/haddock/doc/html/ch01s03.html.

    APA "1. (2026). 1.3. Contributors. Retrieved November 24, 2026, from http://haskell.org/haddock/doc/html/ch01s03.html

  6. Haddock: A Haskell Documentation Tool · retrieved 2026-11-18 · rev 1353806481
    Cite this reference

    MLA "Haddock: A Haskell Documentation Tool." a b c "Haddock: A Haskell Documentation Tool" Archived 2006-10-11 at the Wayback Machine -(by Simon Marlow, Proceedings. 2026-11-18. http://www.haskell.org/~simonmar/papers/haddock.pdf. Accessed 24 November 2026.

    Chicago "Haddock: A Haskell Documentation Tool." a b c "Haddock: A Haskell Documentation Tool" Archived 2006-10-11 at the Wayback Machine -(by Simon Marlow, Proceedings. 2026-11-18. http://www.haskell.org/~simonmar/papers/haddock.pdf.

    APA a b c "Haddock: A Haskell Documentation Tool" Archived 2006-10-11 at the Wayback Machine -(by Simon Marlow, Proceedings. (2026). Haddock: A Haskell Documentation Tool. Retrieved November 24, 2026, from http://www.haskell.org/~simonmar/papers/haddock.pdf

  7. Release 2.25.0 · retrieved 2026-11-18 · rev 1353806481
    Cite this reference

    MLA "Release 2.25.0." "Release 2. 2026-11-18. https://github.com/haskell/haddock/releases/tag/haddock-2.25.0-release. Accessed 24 November 2026.

    Chicago "Release 2.25.0." "Release 2. 2026-11-18. https://github.com/haskell/haddock/releases/tag/haddock-2.25.0-release.

    APA "Release 2. (2026). Release 2.25.0. Retrieved November 24, 2026, from https://github.com/haskell/haddock/releases/tag/haddock-2.25.0-release

Cite this article

MLA

"Haddock (software)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/haddock-software. Accessed 24 November 2026.

Chicago

"Haddock (software)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/haddock-software.

APA

encyclopegia.org. (2026). Haddock (software). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/haddock-software

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1353806481 · 0.5 · snapshot enwiki-001353806481

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.