
#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