projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c1681a7
)
ghci doc tweaks
author
Ian Lynagh
<igloo@earth.li>
Sun, 15 Jul 2007 12:21:28 +0000
(12:21 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sun, 15 Jul 2007 12:21:28 +0000
(12:21 +0000)
docs/users_guide/ghci.xml
patch
|
blob
|
history
diff --git
a/docs/users_guide/ghci.xml
b/docs/users_guide/ghci.xml
index
d3efd2a
..
9810dce
100644
(file)
--- a/
docs/users_guide/ghci.xml
+++ b/
docs/users_guide/ghci.xml
@@
-564,7
+564,7
@@
Prelude IO>
<para>
Hint: GHCi will tab-complete names that are in scope; for
example, if you run GHCi and type <literal>J<tab></literal>
<para>
Hint: GHCi will tab-complete names that are in scope; for
example, if you run GHCi and type <literal>J<tab></literal>
- then GHCi will expand it to <literal>Just </literal>.
+ then GHCi will expand it to “<literal>Just </literal>”.
</para>
<sect3>
</para>
<sect3>
@@
-715,7
+715,7
@@
it <- <replaceable>e</replaceable>
</listitem>
</orderedlist>
At the GHCi prompt, or with GHC if the
</listitem>
</orderedlist>
At the GHCi prompt, or with GHC if the
- <literal>-fextended-default-rules</literal> flag is given,
+ <literal>-XExtendedDefaultRules</literal> flag is given,
the following additional differences apply:
<itemizedlist>
<listitem>
the following additional differences apply:
<itemizedlist>
<listitem>
@@
-764,8
+764,8
@@
def = toEnum 0
instance that returns <literal>IO a</literal>.
However, it is only able to return
<literal>undefined</literal>
instance that returns <literal>IO a</literal>.
However, it is only able to return
<literal>undefined</literal>
- (the reason for the instance having this type is to not require
- extensions to the class system), so if the type defaults to
+ (the reason for the instance having this type is so that printf
+ doesn't require extensions to the class system), so if the type defaults to
<literal>Integer</literal> then ghci gives an error when running a
printf.
</para>
<literal>Integer</literal> then ghci gives an error when running a
printf.
</para>