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

GHC ghc-devs at haskell.org
Tue Jul 11 01:39:23 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):

 comment:3 follows directly from the
 [https://www.haskell.org/onlinereport/haskell2010/haskellch3.html#x8-520003.15.2
 Report]. Note that `(Identity {}) { runIdentity = 42 }` works: a record
 construction (with an empty field-list) followed by a record-update.

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


More information about the ghc-tickets mailing list