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

GHC cvs-ghc at haskell.org
Tue Apr 30 21:11:48 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 kosmikus):

 It works if you restrict `s` in `Magic` to be of a particular kind, for
 example `*`. I think it's indeed existential if not constrained.

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



More information about the ghc-tickets mailing list