aboutsummaryrefslogtreecommitdiff
path: root/tests/golden-tests/tests/Examples.html.ref
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2010-08-28 16:36:09 +0000
committerDavid Waern <david.waern@gmail.com>2010-08-28 16:36:09 +0000
commit43888034557c589a1cfe6e255433b086ee375bd2 (patch)
treee7e74b327158d6d706ca9fe6cafb57dc658c7ad8 /tests/golden-tests/tests/Examples.html.ref
parent5c2a23d49e3d6f489549874bedce869e97222574 (diff)
Update tests following switch to the Xhtml backend
Diffstat (limited to 'tests/golden-tests/tests/Examples.html.ref')
-rw-r--r--tests/golden-tests/tests/Examples.html.ref230
1 files changed, 22 insertions, 208 deletions
diff --git a/tests/golden-tests/tests/Examples.html.ref b/tests/golden-tests/tests/Examples.html.ref
index 64634d26..5dc3885a 100644
--- a/tests/golden-tests/tests/Examples.html.ref
+++ b/tests/golden-tests/tests/Examples.html.ref
@@ -1,208 +1,22 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--Rendered using the Haskell Html Library v0.2-->
-<HTML
-><HEAD
-><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"
-><TITLE
->Examples</TITLE
-><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css"
-><SCRIPT SRC="haddock-util.js" TYPE="text/javascript"
-></SCRIPT
-><SCRIPT TYPE="text/javascript"
->window.onload = function () {setSynopsis("mini_Examples.html")};</SCRIPT
-></HEAD
-><BODY
-><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
-><TR
-><TD CLASS="topbar"
-><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
-><TR
-><TD
-><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" "
-></TD
-><TD CLASS="title"
-></TD
-><TD CLASS="topbut"
-><A HREF="index.html"
->Contents</A
-></TD
-><TD CLASS="topbut"
-><A HREF="doc-index.html"
->Index</A
-></TD
-></TR
-></TABLE
-></TD
-></TR
-><TR
-><TD CLASS="modulebar"
-><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
-><TR
-><TD
-><FONT SIZE="6"
->Examples</FONT
-></TD
-></TR
-></TABLE
-></TD
-></TR
-><TR
-><TD CLASS="s15"
-></TD
-></TR
-><TR
-><TD CLASS="s15"
-></TD
-></TR
-><TR
-><TD CLASS="section1"
->Synopsis</TD
-></TR
-><TR
-><TD CLASS="s15"
-></TD
-></TR
-><TR
-><TD CLASS="body"
-><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
-><TR
-><TD CLASS="decl"
-><A HREF="#v%3Afib"
->fib</A
-> :: <A HREF=" /home/sol/.install/ghc/ghc-6.12.1/lib/ghc-6.12.1/../../share/doc/ghc/html/libraries/base-4.2.0.0/Prelude.html#t%3AInteger"
->Integer</A
-> -&gt; <A HREF=" /home/sol/.install/ghc/ghc-6.12.1/lib/ghc-6.12.1/../../share/doc/ghc/html/libraries/base-4.2.0.0/Prelude.html#t%3AInteger"
->Integer</A
-></TD
-></TR
-></TABLE
-></TD
-></TR
-><TR
-><TD CLASS="s15"
-></TD
-></TR
-><TR
-><TD CLASS="section1"
->Documentation</TD
-></TR
-><TR
-><TD CLASS="s15"
-></TD
-></TR
-><TR
-><TD CLASS="decl"
-><A NAME="v:fib"
-><A NAME="v%3Afib"
-></A
-></A
-><B
->fib</B
-> :: <A HREF=" /home/sol/.install/ghc/ghc-6.12.1/lib/ghc-6.12.1/../../share/doc/ghc/html/libraries/base-4.2.0.0/Prelude.html#t%3AInteger"
->Integer</A
-> -&gt; <A HREF=" /home/sol/.install/ghc/ghc-6.12.1/lib/ghc-6.12.1/../../share/doc/ghc/html/libraries/base-4.2.0.0/Prelude.html#t%3AInteger"
->Integer</A
-></TD
-></TR
-><TR
-><TD CLASS="doc"
-><P
->Fibonacci number of given <TT
-><A HREF=" /home/sol/.install/ghc/ghc-6.12.1/lib/ghc-6.12.1/../../share/doc/ghc/html/libraries/base-4.2.0.0/Prelude.html#t%3AInteger"
->Integer</A
-></TT
->.
-</P
-><P
->Examples:
-</P
-><PRE CLASS="screen"
-><CODE CLASS="prompt"
->ghci&gt; </CODE
-><STRONG CLASS="userinput"
-><CODE
->fib 5
-</CODE
-></STRONG
->5
-<CODE CLASS="prompt"
->ghci&gt; </CODE
-><STRONG CLASS="userinput"
-><CODE
->fib 10
-</CODE
-></STRONG
->55
-</PRE
-><PRE CLASS="screen"
-><CODE CLASS="prompt"
->ghci&gt; </CODE
-><STRONG CLASS="userinput"
-><CODE
->fib 10
-</CODE
-></STRONG
->55
-</PRE
-><P
->One more Example:
-</P
-><PRE CLASS="screen"
-><CODE CLASS="prompt"
->ghci&gt; </CODE
-><STRONG CLASS="userinput"
-><CODE
->fib 5
-</CODE
-></STRONG
->5
-</PRE
-><P
->One more Example:
-</P
-><PRE CLASS="screen"
-><CODE CLASS="prompt"
->ghci&gt; </CODE
-><STRONG CLASS="userinput"
-><CODE
->fib 5
-</CODE
-></STRONG
->5
-</PRE
-><P
->Example with an import:
-</P
-><PRE CLASS="screen"
-><CODE CLASS="prompt"
->ghci&gt; </CODE
-><STRONG CLASS="userinput"
-><CODE
->import Data.Char
-</CODE
-></STRONG
-><CODE CLASS="prompt"
->ghci&gt; </CODE
-><STRONG CLASS="userinput"
-><CODE
->isSpace 'a'
-</CODE
-></STRONG
->False
-</PRE
-></TD
-></TR
-><TR
-><TD CLASS="s15"
-></TD
-></TR
-><TR
-><TD CLASS="botbar"
->Produced by <A HREF="http://www.haskell.org/haddock/"
->Haddock</A
-> version 2.7.2</TD
-></TR
-></TABLE
-></BODY
-></HTML
->
+<!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>Examples</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_Examples.html");};
+//]]>
+</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><A HREF="">Contents</a></li><li><A HREF="">Index</a></li></ul><p class="caption" class="empty">&nbsp;</p></div><div id="content"><div id="module-header"><p class="caption">Examples</p></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"><A HREF="">fib</a> :: <A HREF="">Integer</a> -&gt; <A HREF="">Integer</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:fib" class="def">fib</a> :: <A HREF="">Integer</a> -&gt; <A HREF="">Integer</a></p><div class="doc"><p>Fibonacci number of given <code><A HREF="">Integer</a></code>.
+</p><p>Examples:
+</p><pre class="screen"><code class="prompt">ghci&gt; </code><strong class="userinput"><code>fib 5
+</code></strong>5
+<code class="prompt">ghci&gt; </code><strong class="userinput"><code>fib 10
+</code></strong>55
+</pre><pre class="screen"><code class="prompt">ghci&gt; </code><strong class="userinput"><code>fib 10
+</code></strong>55
+</pre><p>One more Example:
+</p><pre class="screen"><code class="prompt">ghci&gt; </code><strong class="userinput"><code>fib 5
+</code></strong>5
+</pre><p>One more Example:
+</p><pre class="screen"><code class="prompt">ghci&gt; </code><strong class="userinput"><code>fib 5
+</code></strong>5
+</pre><p>Example with an import:
+</p><pre class="screen"><code class="prompt">ghci&gt; </code><strong class="userinput"><code>import Data.Char
+</code></strong><code class="prompt">ghci&gt; </code><strong class="userinput"><code>isSpace 'a'
+</code></strong>False
+</pre></div></div></div></div><div id="footer"><p>Produced by <A HREF="">Haddock</a> version 2.7.2</p></div></body></html> \ No newline at end of file