[GHC] #7730: :info and polykinds

GHC ghc-devs at haskell.org
Fri Apr 11 14:24:06 UTC 2014


#7730: :info and polykinds
--------------------------------------------+------------------------------
        Reporter:  monoidal                 |            Owner:  archblob
            Type:  bug                      |           Status:  new
        Priority:  normal                   |        Milestone:  7.8.1
       Component:  Compiler (Type checker)  |          Version:  7.6.2
      Resolution:                           |         Keywords:
Operating System:  Unknown/Multiple         |     Architecture:
 Type of failure:  None/Unknown             |  Unknown/Multiple
       Test Case:                           |       Difficulty:  Unknown
        Blocking:                           |       Blocked By:
                                            |  Related Tickets:  #8776
--------------------------------------------+------------------------------

Comment (by archblob):

 By the "old way" I mean that in most cases the output of ``` pprIfaceDecl
 ``` looks nothing like ``` ppr_ty_thing ```, so the way I described this
 would pe to leave ``` ppr =  pprIfaceDecl Nothing ``` for the ```
 Outputable ``` instance of ``` IfaceDecl ``` so that when using ```
 --show-iface ``` nothing would change, also there is a lot more
 information printed by ``` pprIfaceDecl ``` than ``` ppr_ty_thing ```. So
 if you want the output of ``` pprIfaceDecl ``` to look like ```
 ppr_ty_thing ``` I'm not sure what to do about the extra information that
 is now printed, and that will also affect the output of ``` --show-iface
 ``` ?

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


More information about the ghc-tickets mailing list