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

GHC cvs-ghc at haskell.org
Wed Apr 20 18:26:27 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  |  
------------------------------------------------+---------------------------

Comment(by megacz):

 Simon, I found it confusing at first too, but eventually got used to it.

 How about letting the user choose tyvar-or-tycon on a symbol-by-symbol
 basis, the same way we currently choose fixity on an identifier-by-
 identifier basis?  I don't mind writing the code for this.

 I do find operators-as-type-variables very useful, particularly (**) in
 the definition of GArrows

   http://git.megacz.com/?p=ghc-base.git;a=blob;f=GHC/HetMet/GArrow.hs#l43

   - a

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



More information about the Glasgow-haskell-bugs mailing list