Relative infix operator precedences

From HaskellWiki
Revision as of 16:47, 9 April 2009 by Lemming (talk | contribs) (point to an old discussion)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

It was intensively discussed, whether Haskell should better have syntax for describing relations like "'times' binds more tightly than 'plus'" and "'plus' and 'minus' bind by the same strenght", instead of numeric precedence values like 6 and 7. The relative precedence declarations would also allow to let unrelated infix operators unrelated. This would force the use of parentheses in cases where the operator name designers did not anticipate a certain combination of infix operators.

See