Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > ccbb799d62d652d24be19637d4d7cebb > files > 41

ghc-xhtml-devel-3000.2.0.1-9.fc15.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Text.XHtml.Debug</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Text-XHtml-Debug.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-XHtml-Debug.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">xhtml-3000.2.0.1: An XHTML combinator library</p></div><div id="content"><div id="module-header"><p class="caption">Text.XHtml.Debug</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module contains functions for displaying
   HTML as a pretty tree.
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span>  <a href="#t:HtmlTree">HtmlTree</a> <ul class="subs"><li>= <a href="#v:HtmlLeaf">HtmlLeaf</a> <a href="Text-XHtml-Strict.html#t:Html">Html</a>  </li><li>| <a href="#v:HtmlNode">HtmlNode</a> <a href="Text-XHtml-Strict.html#t:Html">Html</a> [<a href="Text-XHtml-Debug.html#t:HtmlTree">HtmlTree</a>] <a href="Text-XHtml-Strict.html#t:Html">Html</a>  </li></ul></li><li class="src short"><a href="#v:treeHtml">treeHtml</a> :: [<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>] -&gt; <a href="Text-XHtml-Debug.html#t:HtmlTree">HtmlTree</a> -&gt; <a href="Text-XHtml-Strict.html#t:Html">Html</a></li><li class="src short"><a href="#v:treeColors">treeColors</a> :: [<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>]</li><li class="src short"><a href="#v:debugHtml">debugHtml</a> :: <a href="Text-XHtml-Strict.html#t:HTML">HTML</a> a =&gt; a -&gt; <a href="Text-XHtml-Strict.html#t:Html">Html</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:HtmlTree" class="def">HtmlTree</a>  <a href="src/Text-XHtml-Debug.html#HtmlTree" class="link">Source</a></p><div class="doc"><p>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.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:HtmlLeaf" class="def">HtmlLeaf</a> <a href="Text-XHtml-Strict.html#t:Html">Html</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:HtmlNode" class="def">HtmlNode</a> <a href="Text-XHtml-Strict.html#t:Html">Html</a> [<a href="Text-XHtml-Debug.html#t:HtmlTree">HtmlTree</a>] <a href="Text-XHtml-Strict.html#t:Html">Html</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:HtmlTree" class="caption collapser" onclick="toggleSection('i:HtmlTree')">Instances</p><div id="section.i:HtmlTree" class="show"><table><tr><td class="src"><a href="Text-XHtml-Strict.html#t:HTML">HTML</a> <a href="Text-XHtml-Debug.html#t:HtmlTree">HtmlTree</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:treeHtml" class="def">treeHtml</a> :: [<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>] -&gt; <a href="Text-XHtml-Debug.html#t:HtmlTree">HtmlTree</a> -&gt; <a href="Text-XHtml-Strict.html#t:Html">Html</a><a href="src/Text-XHtml-Debug.html#treeHtml" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:treeColors" class="def">treeColors</a> :: [<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>]<a href="src/Text-XHtml-Debug.html#treeColors" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:debugHtml" class="def">debugHtml</a> :: <a href="Text-XHtml-Strict.html#t:HTML">HTML</a> a =&gt; a -&gt; <a href="Text-XHtml-Strict.html#t:Html">Html</a><a href="src/Text-XHtml-Debug.html#debugHtml" class="link">Source</a></p><div class="doc"><p>This uses the above tree rendering function, and displays the
 Html as a tree structure, allowing debugging of what is
 actually getting produced.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>