[GHC] #11513: Work out when GADT parameters should be specified

GHC ghc-devs at haskell.org
Mon Feb 1 14:54:14 UTC 2016


#11513: Work out when GADT parameters should be specified
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
                                     |  TypeApplications
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 simonpj):

 Ah, now I see.  You mean (unlike the example in the Description) when the
 user explicitly specifies the "wrong" order.

 Then let's make a wrapper!  It'll get inlined away, and serves (as always)
 to interface the type the user wants to see with the one GHC uses
 internally.

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


More information about the ghc-tickets mailing list