aboutsummaryrefslogtreecommitdiff
path: root/tests/golden-tests
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2010-09-01 11:19:21 +0000
committerDavid Waern <david.waern@gmail.com>2010-09-01 11:19:21 +0000
commitc369e055597eadcd5b68f966afcc2453f5174a4c (patch)
tree4b01d800eb99291ae107e32135f9749a1c17db14 /tests/golden-tests
parent0b0ca379557e201ce1bbdc02ea25b1ca9d42a9a1 (diff)
Replace ghci> with >>> in example syntax
Diffstat (limited to 'tests/golden-tests')
-rw-r--r--tests/golden-tests/tests/Examples.hs14
-rw-r--r--tests/golden-tests/tests/Examples.html.ref14
2 files changed, 14 insertions, 14 deletions
diff --git a/tests/golden-tests/tests/Examples.hs b/tests/golden-tests/tests/Examples.hs
index ed22b614..7b703428 100644
--- a/tests/golden-tests/tests/Examples.hs
+++ b/tests/golden-tests/tests/Examples.hs
@@ -4,28 +4,28 @@ module Examples where
--
-- Examples:
--
--- ghci> fib 5
+-- >>> fib 5
-- 5
--- ghci> fib 10
+-- >>> fib 10
-- 55
--
--- ghci> fib 10
+-- >>> fib 10
-- 55
--
-- One more Example:
--
--- ghci> fib 5
+-- >>> fib 5
-- 5
--
-- One more Example:
--
--- ghci> fib 5
+-- >>> fib 5
-- 5
--
-- Example with an import:
--
--- ghci> import Data.Char
--- ghci> isSpace 'a'
+-- >>> import Data.Char
+-- >>> isSpace 'a'
-- False
--
fib :: Integer -> Integer
diff --git a/tests/golden-tests/tests/Examples.html.ref b/tests/golden-tests/tests/Examples.html.ref
index 9139ac80..3bf475ab 100644
--- a/tests/golden-tests/tests/Examples.html.ref
+++ b/tests/golden-tests/tests/Examples.html.ref
@@ -3,20 +3,20 @@ 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
+</p><pre class="screen"><code class="prompt">&gt;&gt;&gt; </code><strong class="userinput"><code>fib 5
</code></strong>5
-<code class="prompt">ghci&gt; </code><strong class="userinput"><code>fib 10
+<code class="prompt">&gt;&gt;&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
+</pre><pre class="screen"><code class="prompt">&gt;&gt;&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
+</p><pre class="screen"><code class="prompt">&gt;&gt;&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
+</p><pre class="screen"><code class="prompt">&gt;&gt;&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'
+</p><pre class="screen"><code class="prompt">&gt;&gt;&gt; </code><strong class="userinput"><code>import Data.Char
+</code></strong><code class="prompt">&gt;&gt;&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.8.0</p></div></body></html> \ No newline at end of file