[GHC] #11267: Can't parse type with kind ascription with GHCi's :kind command

GHC ghc-devs at haskell.org
Sun Dec 20 04:42:49 UTC 2015


#11267: Can't parse type with kind ascription with GHCi's :kind command
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 Kind ascriptions in types require parentheses (and have for some time).
 Not sure precisely why, but I'm sure that the parser would be made more
 complicated by relaxing this restriction.

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


More information about the ghc-tickets mailing list