#6015: "No instance" when using PolyKinds/DataKinds/FunDeps/Undecidable
---------------------------------+------------------------------------------
    Reporter:  atnnn             |       Owner:                           
        Type:  feature request   |      Status:  new                      
    Priority:  normal            |   Milestone:                           
   Component:  Compiler          |     Version:  7.4.1                    
    Keywords:                    |          Os:  Unknown/Multiple         
Architecture:  Unknown/Multiple  |     Failure:  GHC rejects valid program
  Difficulty:  Unknown           |    Testcase:                           
   Blockedby:                    |    Blocking:                           
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by atnnn):

 Replying to [comment:2 simonpj]:
 > That's odd.  Even with `PolyKinds` on the program typechecks for me.
 Are you using the latest HEAD?

 I tried again with the latest HEAD.

 As before, the code compiles fine and the `No instance` error appears only
 when trying to evaluate `foo`.

 Also, I forgot to add the required `FlexibleContexts`.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6015#comment:3>
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