Unary minus (was: micro-rant)
Tue, 14 Aug 2001 00:25:03 -0700
I suggest we transfer this discussion about unary minus to
As the original poster noted, it is not a subject on which the existing
is ambiguous or inconsistent, so I don't propose to make any change in
The next version of Haskell, maybe.
| -----Original Message-----
| From: Jerzy Karczmarczuk [mailto:email@example.com]=20
| Sent: 13 August 2001 16:12
| Cc: firstname.lastname@example.org
| Subject: Unary minus (was: micro-rant)
| matt hellige:
| > ... i think people would
| > be pretty frustrated if "-56.2" worked but not "-x"...
| Weell, the Cleaners around have to live with it. -5 works.=20
| For variables they write ~x. But "-" in front of a number is=20
| not a lexical entity, but a syntactic one, so f -5 and f (-5)=20
| are a bit different.
| I didn't follow this discussion, but please avoid this mess=20
| in Haskell.
| Jerzy Karczmarczuk
| Haskell mailing list
| Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell