[GHC] #12045: Visible kind application

GHC ghc-devs at haskell.org
Wed May 11 15:24:14 UTC 2016


#12045: Visible kind application
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
                                     |  TypeApplications TypeInType
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 Iceland_jack):

 I had better motivating examples in mind way back when.

 I believe this should be fine wrt parsing `@` at the type level:

 {{{#!haskell
 k :: Const @Bool Int 'False -- '
 k = Const 42
 }}}

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


More information about the ghc-tickets mailing list