[GHC] #7730: :info and polykinds

GHC ghc-devs at haskell.org
Thu Apr 17 09:27:32 UTC 2014


#7730: :info and polykinds
--------------------------------------------+------------------------------
        Reporter:  monoidal                 |            Owner:  archblob
            Type:  bug                      |           Status:  new
        Priority:  normal                   |        Milestone:  7.8.3
       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 simonpj):

 Thinking about this some more, I think the best thing is to include the
 `fam_tc` and `arg_tys` in the `ifAxiom` field, and maybe rename it thus:
 {{{
   ifParent :: IfaceTyConParent
 }}}
 where
 {{{
 data IfaceTyConParent
   = IfNoParent
   | IfDataInstance IfExtName -- Axiom
                    IfExtName -- Parent TyCon
                    [IfaceType] -- Arg tys
 }}}
 That would make `tc_parent` in `TcIface` a lot simpler too.

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


More information about the ghc-tickets mailing list