[GHC] #5141: syntax error in pretty-printed kind ascriptions

GHC cvs-ghc at haskell.org
Wed Apr 20 13:30:26 CEST 2011


#5141: syntax error in pretty-printed kind ascriptions
------------------------------------------------+---------------------------
  Reporter:  megacz                             |          Owner:                  
      Type:  bug                                |         Status:  closed          
  Priority:  normal                             |      Milestone:                  
 Component:  Compiler                           |        Version:  7.0.3           
Resolution:  fixed                              |       Keywords:                  
  Testcase:                                     |      Blockedby:                  
Difficulty:                                     |             Os:  Unknown/Multiple
  Blocking:                                     |   Architecture:  Unknown/Multiple
   Failure:  Incorrect warning at compile-time  |  
------------------------------------------------+---------------------------
Changes (by simonpj):

  * status:  patch => closed
  * resolution:  => fixed


Comment:

 Thanks; I've commmited your change.

 Note, though, that it's likely that we're considering making operators
 like '*' into type ''constructors'' rather that type ''variables'.  This
 is inconsitent with terms, but is jolly convenient:
 {{{
 data a + b = Left a | Right b
 }}}
 Of course there'll be a flag.  But let us know if you think that having
 operators be type variables is very useful.  (I tend to think it's more
 confusing than useful.)

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5141#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list