Re: [GHC] #12560: ‘:info TYPE’ mentions any instance that includes ‘Type’
GHC
ghc-devs at haskell.org
Sun Sep 4 16:04:52 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 Iceland_jack):
Yes, it would even be possible to have listed instances depend on whether
`print-explicit-kinds` is enabled or not: i.e. we only list the instance
if `*` appears in the output (having instances depend on flags is weird,
the current behaviour may be preferable).
Another idea is to treat `TYPE` as a special case and temporarily show
explicit kinds when its instances are printed regardless of flags.
The connection between `TYPE` and `*` may also not be obvious to users.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12560#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list