#3101: GHC crashes on synonym family in a rank-n type
-----------------------------------+----------------------------------------
 Reporter:  MartijnVanSteenbergen  |          Owner:                  
     Type:  bug                    |         Status:  new             
 Priority:  normal                 |      Milestone:                  
Component:  Compiler               |        Version:  6.10.1          
 Severity:  normal                 |     Resolution:                  
 Keywords:                         |       Testcase:                  
       Os:  MacOS X                |   Architecture:  Unknown/Multiple
-----------------------------------+----------------------------------------
Comment (by MartijnVanSteenbergen):

 I have to add that while the above snippet makes no sense as a Haskell
 program, I was in fact doing something along the following lines, which
 does make sense:

 {{{
 type family F a :: * -> *

 data Boom a = Boom (forall b. F a b)
   deriving Show
 }}}

 Also note that there is no problem when "deriving Show" is left away.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3101#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to