#7026: Impredicative implicit parameters
----------------------------------------+-----------------------------------
    Reporter:  Ashley Yakeley           |       Owner:                          
 
        Type:  bug                      |      Status:  new                     
 
    Priority:  normal                   |   Milestone:  _|_                     
 
   Component:  Compiler (Type checker)  |     Version:  7.4.2                   
 
    Keywords:                           |          Os:  Unknown/Multiple        
 
Architecture:  Unknown/Multiple         |     Failure:  GHC rejects valid 
program
  Difficulty:  Unknown                  |    Testcase:                          
 
   Blockedby:                           |    Blocking:                          
 
     Related:                           |  
----------------------------------------+-----------------------------------

Comment(by simonpj):

 Yes, maybe use a wrapper like this
 {{{
 newtype VM a = VM ((?jvmenv :: VMEnv) => IO a)
 }}}

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