#3447: Class restrictions on type instances
---------------------------------+------------------------------------------
Reporter: LysikovVV | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 6.14.1
Component: Compiler | Version: 6.10.4
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Comment (by LysikovVV):
Replying to [comment:2 simonpj]:
> This is legal with `-XFlexibleContexts`. Perhaps you can see if that
serves your purpose?
{{{
Cycle in class declarations (via superclasses):
Bool.hs:(8,0)-(10,26): class (BoolT (NotT a)) => BoolT a where {
type family NotT a; }
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3447#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