[GHC] #11409: Cannot instantiate literals using TypeApplications

GHC ghc-devs at haskell.org
Wed Mar 22 11:12:33 UTC 2017


#11409: Cannot instantiate literals using TypeApplications
-------------------------------------+-------------------------------------
        Reporter:  Feuerbach         |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Compiler          |              Version:  8.0.1-rc1
      Resolution:                    |             Keywords:
                                     |  TypeApplications
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11352            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by int-index):

 I think the correct way forward here is changing how `-XTypeApplications`
 works with partially applied functions. If I can write `fromInteger @t n`,
 shouldn't `fromInteger n @t` behave the same?

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


More information about the ghc-tickets mailing list