[GHC] #2986: :info printing instances often isn't wanted

GHC trac at galois.com
Wed Jan 28 17:56:54 EST 2009


#2986: :info printing instances often isn't wanted
-----------------------------+----------------------------------------------
Reporter:  Remi              |          Owner:                  
    Type:  feature request   |         Status:  new             
Priority:  normal            |      Component:  GHCi            
 Version:  6.10.1            |       Severity:  normal          
Keywords:  :info instances   |       Testcase:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
-----------------------------+----------------------------------------------
 :info shows all instances of types/classes, which often obscures the info
 I'm actually interested in.
 See the output of e.g. ":info Show" or ":info [] Maybe Int": The class and
 types are rather lost in between the instances. My proposal is to add an
 option to suppress the printing of instances. With the attached patch for
 6.10.1 (although it applies to HEAD too), ":info -Show" will only print
 the class.

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


More information about the Glasgow-haskell-bugs mailing list