#5616: TH type quotes cannot contain free type variables
-------------------------------+--------------------------------------------
  Reporter:  Lennart           |          Owner:                  
      Type:  bug               |         Status:  closed          
  Priority:  normal            |      Milestone:                  
 Component:  Template Haskell  |        Version:  7.2.1           
Resolution:  invalid           |       Keywords:                  
  Testcase:                    |      Blockedby:                  
Difficulty:                    |             Os:  Unknown/Multiple
  Blocking:                    |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown      |  
-------------------------------+--------------------------------------------

Comment(by augustss):

 So where should `a` be bound in this example?
 {{{
 inst t1 t2 = [d| instance C $t1 $t2 |]

 $(inst [t| [a] |] [t| a |])
 }}}

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

Reply via email to