#2493: implement proposed Qualified Operator syntax
-----------------------------+----------------------------------------------
 Reporter:  Isaac Dupree     |          Owner:  simonmar   
     Type:  feature request  |         Status:  closed     
 Priority:  normal           |      Milestone:  6.12 branch
Component:  Compiler         |        Version:  6.8.3      
 Severity:  normal           |     Resolution:  fixed      
 Keywords:                   |     Difficulty:  Unknown    
 Testcase:                   |   Architecture:  Unknown    
       Os:  Unknown          |  
-----------------------------+----------------------------------------------
Changes (by simonmar):

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

Comment:

 Done:

 {{{
 Mon Sep 22 16:23:40 BST 2008  Simon Marlow <[EMAIL PROTECTED]>
   * add -XNewQualifiedOperators (Haskell' qualified operator syntax)
 }}}

 The implementatin is not exactly the same as the proposal, in that the
 `(op)` and {{{`var`}}} syntax still resides in the parser, and so we still
 accept `( + )` as an operator (but not `Prelude.( + )`, so there's an
 inconsistency).  I did try to move these parsing rules down to the lexer,
 but it turned out to be too complicated to do this and also retain the old
 way.  I don't think it'll be a problem in practice.  There are some notes
 about the issues in `Lexer.x`.

 This could possibly go into 6.10.1,

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