[GHC] #11409: Cannot instantiate literals using TypeApplications

GHC ghc-devs at haskell.org
Thu Jun 29 20:19:57 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 Iceland_jack):

 Mentioned in
 [https://www.reddit.com/r/haskell/comments/6k86je/constraint_unions_bringing_or_to_the_language_of/djkmdbi/?utm_content=permalink&utm_medium=front&utm_source=reddit&utm_name=haskell
 reddit comment]

 > I keep being surprised/disappointed that I can't do `5 @Int` and have to
 do `(5 :: Int)` instead.

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


More information about the ghc-tickets mailing list