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 --- doc/haddock.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/haddock.xml b/doc/haddock.xml index 58047598..39c4f9d2 100644 --- a/doc/haddock.xml +++ b/doc/haddock.xml @@ -1508,9 +1508,9 @@ module A where *, -. These characters can also be escaped using \. - Furthermore, the character sequence ghci> + Furthermore, the character sequence >>> has a special meaning at the beginning of a line. To - escape it, just prefix the > character with a + escape it, just prefix the characters in the sequence with a backslash. @@ -1568,16 +1568,16 @@ module A where Haddock has markup support for examples of interaction with a read-eval-print loop (REPL). An example is introduced with - ghci> followed by an expression followed + >>> followed by an expression followed by zero or more result lines: -- | Two examples are given bellow: -- --- ghci> fib 10 +-- >>> fib 10 -- 55 -- --- ghci> putStrLn "foo\nbar" +-- >>> putStrLn "foo\nbar" -- foo -- bar -- cgit v1.2.3