[commit: ghc] master: Document the behavior of "info!". (909d52e)

Iavor Diatchki <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
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 <[email protected]>
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>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.