[GHC] #5998: GHCi's :info to return all the visible instances, not just the ones imported from currently loaded files

GHC cvs-ghc at haskell.org
Fri Apr 13 17:56:38 CEST 2012


#5998: GHCi's :info to return all the visible instances, not just the ones
imported from currently loaded files
---------------------------------+------------------------------------------
    Reporter:  errge             |       Owner:                  
        Type:  feature request   |      Status:  new             
    Priority:  normal            |   Milestone:                  
   Component:  GHCi              |     Version:  7.4.1           
    Keywords:  ghci :info        |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by errge):

 Good point, clarity is important too.  Especially for beginners, using
 ghci for the first time, I don't want to scare them :)

 How about a discrete message like this:
 -=-
 There are also 56234 other visible instances, not shown for clarity.
 -=-

 That would basically leave the experience as it is currently, but would
 have been enough for me to warn about the instances I were missing through
 my debugging session.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5998#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list