#5612: Better support for kinds in Template Haskell
-------------------------------------------+--------------------------------
    Reporter:  guest                       |       Owner:  lunaris         
        Type:  feature request             |      Status:  patch           
    Priority:  low                         |   Milestone:  7.6.1           
   Component:  Compiler                    |     Version:  7.3             
    Keywords:  PolyKinds, TemplateHaskell  |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple            |     Failure:  Other           
  Difficulty:  Unknown                     |    Testcase:                  
   Blockedby:                              |    Blocking:                  
     Related:                              |  
-------------------------------------------+--------------------------------

Comment(by simonpj):

 In the source language (as it stands) there is no way to ''explicitly''
 quantify over a kind variable; you cannot say `forall k. forall (a::k).
 blah`.  Instead, kind quantification is always implicit.  (This is really
 a missing feature, but that's another story.)

 Currently TH is just concrete syntax for Haskell source syntax.  So I
 think it's proably ok not to have `KindV`, but instead simply not to bind
 kind variables explicitly.

 All of this is ''bound'' to affect TH users using `Kind`; there's really
 no alternative I think.

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