#5012: haskell 98 program does not typecheck when compiled with -XTypeFamilies
----------------------------------------+-----------------------------------
  Reporter:  jcpetruzza                 |          Owner:                  
      Type:  bug                        |         Status:  closed          
  Priority:  normal                     |      Milestone:                  
 Component:  Compiler (Type checker)    |        Version:  7.0.2           
Resolution:  invalid                    |       Keywords:                  
  Testcase:                             |      Blockedby:                  
Difficulty:                             |             Os:  Unknown/Multiple
  Blocking:                             |   Architecture:  Unknown/Multiple
   Failure:  GHC rejects valid program  |  
----------------------------------------+-----------------------------------

Comment(by jcpetruzza):

 Thanks for the quick feedback!

 Incidentally, I did check the docs before opening this ticket. I didn't
 read it in detail but a fast scan of section 7.7 (Type families) didn't
 reveal any gotchas of this sort. I didn't find anything also on the wiki
 article linked from there. A short cautionary note regarding let-
 generalization (and any other implied extension) when using Type Families
 might be a good idea!

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to