[GHC] #9096: GADT definition not accepted in prefix notation

GHC ghc-devs at haskell.org
Sat May 10 13:04:09 UTC 2014


#9096: GADT definition not accepted in prefix notation
------------------------------------+-------------------------------------
       Reporter:  goldfire          |             Owner:
           Type:  bug               |            Status:  new
       Priority:  normal            |         Milestone:
      Component:  Compiler          |           Version:  7.8.2
       Keywords:                    |  Operating System:  Unknown/Multiple
   Architecture:  Unknown/Multiple  |   Type of failure:  None/Unknown
     Difficulty:  Unknown           |         Test Case:
     Blocked By:                    |          Blocking:
Related Tickets:                    |
------------------------------------+-------------------------------------
 Brian Nguyen writes on haskell-cafe:

 The following does not work:

 {{{
 data Foo a where {Foo :: (->) a (Foo a)}
 }}}

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


More information about the ghc-tickets mailing list