diff options
Diffstat (limited to 'tests/golden-tests/tests')
-rw-r--r-- | tests/golden-tests/tests/Examples.hs | 14 | ||||
-rw-r--r-- | tests/golden-tests/tests/Examples.html.ref | 14 |
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"> </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> -> <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> -> <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> </code><strong class="userinput"><code>fib 5 +</p><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>fib 5 </code></strong>5 -<code class="prompt">ghci> </code><strong class="userinput"><code>fib 10 +<code class="prompt">>>> </code><strong class="userinput"><code>fib 10 </code></strong>55 -</pre><pre class="screen"><code class="prompt">ghci> </code><strong class="userinput"><code>fib 10 +</pre><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>fib 10 </code></strong>55 </pre><p>One more Example: -</p><pre class="screen"><code class="prompt">ghci> </code><strong class="userinput"><code>fib 5 +</p><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>fib 5 </code></strong>5 </pre><p>One more Example: -</p><pre class="screen"><code class="prompt">ghci> </code><strong class="userinput"><code>fib 5 +</p><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>fib 5 </code></strong>5 </pre><p>Example with an import: -</p><pre class="screen"><code class="prompt">ghci> </code><strong class="userinput"><code>import Data.Char -</code></strong><code class="prompt">ghci> </code><strong class="userinput"><code>isSpace 'a' +</p><pre class="screen"><code class="prompt">>>> </code><strong class="userinput"><code>import Data.Char +</code></strong><code class="prompt">>>> </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 |