Changes between Version 5 and Version 6 of QualifiedOperators


Ignore:
Timestamp:
Jul 14, 2009 12:15:34 PM (6 years ago)
Author:
simonmar@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • QualifiedOperators

    v5 v6  
    8484 * Using the workaround {{{let (>>=) = Prelude.(>>=) in ...}}} does not work, because {{{>>=}}} has the default fixity.
    8585 * {{{`...`}}} and {{{(...)}}} are not dual
     86 * we lose some consistency with sections, which become quite unwieldy with the new syntax:
     87
     88{{{
     89             left section  right section   prefix
     90unqualified  (+ 1)         (1 +)           (+)
     91Haskell 98   (M.+ 1)       (1 M.+)         (M.+)
     92proposed     (`M.(+)` 1)   (1 `M.(+)`)     M.(+)
     93   or(*)     (M.(+) 1)     (flip M.(+) 1)
     94}}}
     95
     96(*) only if precedence isn't important, e.g. not in cases like {{{`M.(+)` x `M.(*)` y}}}.
    8697
    8798== References ==