From c369e055597eadcd5b68f966afcc2453f5174a4c Mon Sep 17 00:00:00 2001 From: David Waern Date: Wed, 1 Sep 2010 11:19:21 +0000 Subject: Replace ghci> with >>> in example syntax --- tests/golden-tests/tests/Examples.hs | 14 +++++++------- tests/golden-tests/tests/Examples.html.ref | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'tests/golden-tests') 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");}; //]]>

 

Examples

Synopsis

Documentation

fib :: Integer -> Integer

Fibonacci number of given Integer.

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
 
\ No newline at end of file -- cgit v1.2.3