[GHC] #11352: Allow applying type to label

GHC ghc-devs at haskell.org
Tue Jan 12 08:51:18 UTC 2016


#11352: Allow applying type to label
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  7.11
  checker)                           |
      Resolution:                    |             Keywords:  ORF
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11409            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by adamgundry):

 * related:   => #11409


Comment:

 See also #11409, the corresponding ticket for numeric literals, in which
 Simon observes that it's possible to use an auxiliary definition instead
 of changing the type of `fromLabel`. Although it might still make sense to
 do the latter, now that we have type application, rather than have a
 `Proxy#` argument that is unnecessary.

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


More information about the ghc-tickets mailing list