Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/909d52e20405bf18b5fb337e64318112bb553cd8

>---------------------------------------------------------------

commit 909d52e20405bf18b5fb337e64318112bb553cd8
Author: Iavor S. Diatchki <iavor.diatc...@gmail.com>
Date:   Tue Dec 18 16:21:54 2012 -0800

    Document the behavior of "info!".

>---------------------------------------------------------------

 docs/users_guide/ghci.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/docs/users_guide/ghci.xml b/docs/users_guide/ghci.xml
index 9e8ea2f..3b1f00e 100644
--- a/docs/users_guide/ghci.xml
+++ b/docs/users_guide/ghci.xml
@@ -2391,7 +2391,7 @@ Prelude> :. cmds.ghci
 
       <varlistentry>
        <term>
-          <literal>:info</literal> <replaceable>name</replaceable> ...
+          
<literal>:info</literal><optional><literal>!</literal></optional><replaceable>name</replaceable>
 ...
           <indexterm><primary><literal>:info</literal></primary></indexterm>
         </term>
        <listitem>
@@ -2410,6 +2410,9 @@ Prelude> :. cmds.ghci
          and (b) all the other things mentioned in the instance
          are in scope (either qualified or otherwise) as a result of
          a <literal>:load</literal> or <literal>:module</literal> commands. 
</para>
+          The command <literal>:info!</literal> works in a similar fasion
+          but it removes restriction (b), showing all instancds that are in
+          scope and mention <replaceable>name</replaceable> in their head.
        </listitem>
       </varlistentry>
 



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to