diff options
Diffstat (limited to 'doc')
-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> |