[GHC] #7148: generalized newtype and type families is unsound

GHC cvs-ghc at haskell.org
Tue Sep 11 23:48:35 CEST 2012


#7148: generalized newtype and  type families is unsound
---------------------------------+------------------------------------------
    Reporter:  carter            |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  normal            |   Milestone:                  
   Component:  Compiler          |     Version:  7.6.1-rc1       
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by dterei):

 GND isn't allowed in Safe modules, so yes it already causes code using it
 to be inferred Unsafe.

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



More information about the Glasgow-haskell-bugs mailing list