Re: [GHC] #12560: ‘:info TYPE’ mentions any instance that includes ‘Type’

GHC ghc-devs at haskell.org
Tue Sep 6 15:12:15 UTC 2016


#12560: ‘:info TYPE’ mentions any instance that includes ‘Type’
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 OK, so to summarize:

 * You request that `:info T` print only those instances for which the use
 of `T` is visible. Naturally, this list is affected by `-fprint-explicit-
 kinds`.

 You mention some other ideas, but I don't think we should treat `TYPE`
 specially here: if a user is asking about it, they are accessing experts-
 only areas of GHC and can control the output themselves.

 Do you agree that this ticket is a feature request for my bulleted
 feature?

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


More information about the ghc-tickets mailing list