aboutsummaryrefslogtreecommitdiff
path: root/doc/haddock.xml
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 /doc/haddock.xml
parent0b0ca379557e201ce1bbdc02ea25b1ca9d42a9a1 (diff)
Replace ghci> with >>> in example syntax
Diffstat (limited to 'doc/haddock.xml')
-rw-r--r--doc/haddock.xml10
1 files changed, 5 insertions, 5 deletions
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
<literal>*</literal>, <literal>-</literal>. These characters
can also be escaped using <literal>\</literal>.</para>
- <para>Furthermore, the character sequence <literal>ghci&gt;</literal>
+ <para>Furthermore, the character sequence <literal>&gt;&gt;&gt;</literal>
has a special meaning at the beginning of a line. To
- escape it, just prefix the <literal>&gt;</literal> character with a
+ escape it, just prefix the characters in the sequence with a
backslash.</para>
</section>
@@ -1568,16 +1568,16 @@ module A where
<para> Haddock has markup support for examples of interaction with a
<emphasis>read-eval-print loop (REPL)</emphasis>. An
example is introduced with
- <literal>ghci&gt;</literal> followed by an expression followed
+ <literal>&gt;&gt;&gt;</literal> followed by an expression followed
by zero or more result lines:</para>
<programlisting>
-- | Two examples are given bellow:
--
--- ghci&gt; fib 10
+-- &gt;&gt;&gt; fib 10
-- 55
--
--- ghci&gt; putStrLn "foo\nbar"
+-- &gt;&gt;&gt; putStrLn "foo\nbar"
-- foo
-- bar
</programlisting>