[GHC] #9403: Make --show-iface more human readable

GHC ghc-devs at haskell.org
Sun Aug 3 22:41:24 UTC 2014


#9403: Make --show-iface more human readable
-------------------------------------+-------------------------------------
       Reporter:  ezyang             |                   Owner:  ezyang
           Type:  task               |                  Status:  new
       Priority:  low                |               Milestone:
      Component:  Compiler           |                 Version:  7.9
       Keywords:                     |        Operating System:
   Architecture:  Unknown/Multiple   |  Unknown/Multiple
     Difficulty:  Unknown            |         Type of failure:  Other
     Blocked By:                     |               Test Case:
Related Tickets:                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 Right now --show-iface is not particularly interpretable, even if you are
 looking at the Outputable instance for `ModIface`. The problem seems to be
 the output for `mi_deps`, `mi_usages`, `mi_decls`, `mi_insts`,
 `mi_fam_insts` and `mi_rules` is not clearly delimited, making it unclear
 (for example) what `import  -/  base:Prelude HASH` refers to unless you
 already happen to know that this must be from `mi_usages`.

 It should be relatively easy to improve this, but I want to make sure
 people who rely on this output aren't blindsided by the changes.

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


More information about the ghc-tickets mailing list