Changes between Version 1 and Version 2 of QualifiedOperators


Ignore:
Timestamp:
Jul 8, 2009 9:44:51 AM (6 years ago)
Author:
simonmar@…
Comment:

use new template

Legend:

Unmodified
Added
Removed
Modified
  • QualifiedOperators

    v1 v2  
    1 = Proposal: Change the syntax of qualified operators =
     1= Proposal: QualifiedOperators =
     2
     3|| Type    || change ||
     4|| Status  || discussion ||
     5|| Owner   || [mailto:[email protected] Simon Marlow] ||
     6|| Section || Lexical Syntax ||
     7|| Dependencies ||  ||
     8|| Related      || replaces QualifiedIdentifiers and CompositionAsDot ||
     9
     10== Compiler support ==
     11
     12|| GHC   || full (`-XNewQualifiedOperators`) ||
     13|| nhc98 || none ||
     14|| Hugs  || none ||
     15|| UHC   || none ||
     16|| JHC   || none ||
     17|| LHC   || none ||
     18
     19== Summary ==
     20
     21Change the syntax for qualified operators from `Prelude.>>=` to `Prelude.(>>=)`.
     22
     23== Description ==
    224
    325The problem is that right now, qualified operators are written like
     
    5375
    5476This proposal simplifies the story for composition: we don't have to worry about whether you need a space after `Prelude..`.  Also, `Prelude.(.)` is much easier to read.   The only disadvantage I can see is that it could break some code, but probably very little.
     77
     78== References ==
     79
     80== Report Delta ==
     81
     82