Unary minus (was: micro-rant)
Simon Peyton-Jones
simonpj@microsoft.com
Tue, 14 Aug 2001 00:25:03 -0700
Folks
I suggest we transfer this discussion about unary minus to
haskell-cafe@haskell.org.
As the original poster noted, it is not a subject on which the existing
Haskell report=20
is ambiguous or inconsistent, so I don't propose to make any change in
Haskell 98.
The next version of Haskell, maybe.
Simon
| -----Original Message-----
| From: Jerzy Karczmarczuk [mailto:karczma@info.unicaen.fr]=20
| Sent: 13 August 2001 16:12
| Cc: haskell@haskell.org
| Subject: Unary minus (was: micro-rant)
|=20
|=20
| matt hellige:
|=20
| > ... i think people would
| > be pretty frustrated if "-56.2" worked but not "-x"...
|=20
| 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.
|=20
| I didn't follow this discussion, but please avoid this mess=20
| in Haskell.
|=20
| Jerzy Karczmarczuk
|=20
| _______________________________________________
| Haskell mailing list
| Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
|=20