[GHC] #7873: A poly-kinded newtype existential crisis

GHC cvs-ghc at haskell.org
Tue Apr 30 21:12:42 CEST 2013


#7873: A poly-kinded newtype existential crisis
--------------------------------------+-------------------------------------
Reporter:  ekmett                     |          Owner:                  
    Type:  bug                        |         Status:  new             
Priority:  normal                     |      Component:  Compiler        
 Version:  7.6.3                      |       Keywords:                  
      Os:  Unknown/Multiple           |   Architecture:  Unknown/Multiple
 Failure:  GHC rejects valid program  |      Blockedby:                  
Blocking:                             |        Related:                  
--------------------------------------+-------------------------------------

Comment(by ekmett):

 A version without classes or complicated desugarings:

 {{{
 newtype Magic = Magic (forall p a. p a -> Int)
 }}}

 also exhibits the issue.

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



More information about the ghc-tickets mailing list