[GHC] #10188: prefix type-level cons can't be parsed
GHC
ghc-devs at haskell.org
Tue Mar 24 12:02:54 UTC 2015
#10188: prefix type-level cons can't be parsed
-------------------------------------+-------------------------------------
Reporter: Kinokkory | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.4
(Parser) | Keywords:
Resolution: | Architecture:
Operating System: Unknown/Multiple | Unknown/Multiple
Type of failure: GHC rejects | Test Case:
valid program | Blocking:
Blocked By: | Differential Revisions:
Related Tickets: |
-------------------------------------+-------------------------------------
Comment (by goldfire):
It's unfortunate (and a bug) that the code you wrote doesn't work, but
there is support for the feature you want:
{{{
> :kind '(:)
'(:) :: k -> [k] -> [k]
}}}
Note the `'`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10188#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list