Changes between Version 5 and Version 6 of NegativeSyntax


Ignore:
Timestamp:
May 14, 2007 9:21:43 AM (8 years ago)
Author:
simonmar@…
Comment:

add a con for "x-1"

Legend:

Unmodified
Added
Removed
Modified
  • NegativeSyntax

    v5 v6  
    1414 * This does introduce a syntactic oddity, namely that {{{-1}}} is different from {{{- 1}}} though syntax highlighting editors could make this distinction obvious.
    1515
     16 * It would no longer be possible to write `x-1` to mean "x minus 1", instead it would mean "x applied to the literal -1",
     17   which is counter-intuitive.  Also, `x - 1` with spaces would have the "x minus 1" meaning.
     18
    1619 * In Haskell 98, '-' is explicitly excluded from right sections, so:
    1720