Fix typo
[ghc-hetmet.git] / docs / users_guide / ghci.xml
index 786815d..de06cb4 100644 (file)
@@ -65,7 +65,7 @@ Prelude>
    :show bindings             show the current bindings made at the prompt
 
    :ctags [<file>]            create tags file for Vi (default: "tags")
-   :etags [<file>]            create tags file for Emacs (defauilt: "TAGS")
+   :etags [<file>]            create tags file for Emacs (default: "TAGS")
    :type <expr>               show the type of <expr>
    :kind <type>               show the kind of <type>
    :undef <cmd>               undefine user-defined command :<cmd>
@@ -676,7 +676,7 @@ Wed Mar 14 12:23:13 GMT 2001
 
     </sect2>
 
-    <sect2>
+    <sect2 id="extended-default-rules">
       <title>Type defaulting in GHCi</title>
     <indexterm><primary>Type default</primary></indexterm>
     <indexterm><primary><literal>Show</literal> class</primary></indexterm>
@@ -715,6 +715,8 @@ Wed Mar 14 12:23:13 GMT 2001
            numeric, <emphasis>or is <literal>Show</literal>, 
                <literal>Eq</literal>, or <literal>Ord</literal></emphasis>.</para></listitem>
       </itemizedlist>
+   The same type-default behaviour can be enabled in an ordinary Haskell
+   module, using the flag <literal>-fextended-default-rules</literal>.
    </para>
     </sect2>
   </sect1>