#2600: Bind type variables in RULES
-----------------------------+----------------------------------------------
 Reporter:  simonpj          |          Owner:  simonpj
     Type:  feature request  |         Status:  new    
 Priority:  normal           |      Milestone:         
Component:  Compiler         |        Version:  6.8.3  
 Severity:  normal           |     Resolution:         
 Keywords:                   |     Difficulty:  Unknown
 Testcase:                   |   Architecture:  Unknown
       Os:  Unknown          |  
-----------------------------+----------------------------------------------
Comment (by simonpj):

 One other syntactic question: what if there are multiple type binders?  We
 could say
 {{{
   forall (type a :: *) (type b :: *) (f :: a->b).   <blah>
 }}}
 or perhaps just one `type` keyword to introduce all type binders?  But
 then you'd need something to say when the type binders stopped. A
 semicolon perhaps?
 {{{
   forall type (a :: *) (b :: *); (f :: a->b).   <blah>
 }}}
 More syntactic suggestions welcome.  Once we have the syntax, the
 implementation should not be hard.

 Simon

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