diff options
author | David Waern <david.waern@gmail.com> | 2010-09-01 11:19:21 +0000 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2010-09-01 11:19:21 +0000 |
commit | c369e055597eadcd5b68f966afcc2453f5174a4c (patch) | |
tree | 4b01d800eb99291ae107e32135f9749a1c17db14 /doc/haddock.xml | |
parent | 0b0ca379557e201ce1bbdc02ea25b1ca9d42a9a1 (diff) |
Replace ghci> with >>> in example syntax
Diffstat (limited to 'doc/haddock.xml')
-rw-r--r-- | doc/haddock.xml | 10 |
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></literal> + <para>Furthermore, the character sequence <literal>>>></literal> has a special meaning at the beginning of a line. To - escape it, just prefix the <literal>></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></literal> followed by an expression followed + <literal>>>></literal> followed by an expression followed by zero or more result lines:</para> <programlisting> -- | Two examples are given bellow: -- --- ghci> fib 10 +-- >>> fib 10 -- 55 -- --- ghci> putStrLn "foo\nbar" +-- >>> putStrLn "foo\nbar" -- foo -- bar </programlisting> |