[GHC] #13853: TypeApplications and record syntax don't mix

GHC ghc-devs at haskell.org
Mon Jul 10 21:26:13 UTC 2017


#13853: TypeApplications and record syntax don't mix
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.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 goldfire):

 Record-construction syntax is not a special application form, so I
 wouldn't expect this to work. Perhaps we can embellish record-construction
 to enable this syntax, but it would be a change to the grammar.

 This smells similar to #12363, asking for type application on infix
 operators.

 I think the next step here is a ghc-proposal.

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


More information about the ghc-tickets mailing list