On 30/11/12 02:03, Iavor Diatchki wrote:
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/2ec32a8e1cb323b230b0c228dbee313647892bf4

---------------------------------------------------------------

commit 2ec32a8e1cb323b230b0c228dbee313647892bf4
Author: Iavor S. Diatchki <diatc...@galois.com>
Date:   Thu Nov 29 17:14:48 2012 -0800

     Add ":info!" to GHCi.  This shows all instances without filtering first.

     The default behavior of :info is to show only those instances of
     for a type, where all relevant type constructor names are in scope.
     This keeps down the number of instances shown to the user.

     In some cases, it is nice to be able to see all instances for a type.
     This patch implements this with the :info! command.

Was there some discussion about this?  The last I remember was this:

http://hackage.haskell.org/trac/ghc/ticket/5998

where we decided not to implement this because it is essentially a random UI: the behaviour can't be described sensibly because it depends on which interface files GHC happens to have seen so far.

There's also this:

http://hackage.haskell.org/trac/ghc/ticket/3080

which looks like a duplicate (I just closed it).

Cheers,
        Simon



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

Reply via email to