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

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

 It appears that as long as the module that defines Magic doesn't have
 PolyKinds enabled, everything works, even if Proxy and even Reifies, etc.
 were compiled with PolyKinds enabled, so I can probably hack around this
 by doing some creative importing, but this does seem to indicate that
 turning on PolyKinds makes a lot fewer things valid newtypes.

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



More information about the ghc-tickets mailing list