#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 simonpj):
You can also use `-XNoMonoLocalBinds` (after the `-XTypeFamilies`). With
high probability it will work just fine; but the flag imposes some
compromises on the type checker, which is why it's off by default.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5012#comment:2>
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