HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulexhtml-3000.2.2.1Haskell2010

Text.XHtml.Debug

This module contains functions for displaying HTML as a pretty tree.

  • 1 type
  • 3 values
  • Packagexhtml-3000.2.2.1
  • Exports4
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceDebug.hs
datadata HtmlTree
#

The basic idea is you render your structure in the form of this tree, and then use treeHtml to turn it into a Html object with the structure explicit.

Constructors

Instances1HTML
  • HTML HtmlTreeDefined in xhtml-3000.2.2.1 · Text.XHtml.Debug
valuedebugHtml :: HTML a => a -> Html
#

This uses the above tree rendering function, and displays the Html as a tree structure, allowing debugging of what is actually getting produced.