9 Aug
2001
9 Aug
'01
12:12 a.m.
On Wed, 8 Aug 2001, Wolfgang Jeltsch wrote:
I totally agree with Gary. In my opinion the unary minus is a anomaly in Haskell which causes a lot of problems while beeing not that useful. For me it is totally okay to use negate x instead of -x.
Gary wrote:
<micro-rant> As long as were trying to clean up a final version of the Haskell 98 report, lets simplify it a little by getting rid of unary minus. It's the only prefix operator in the whole language.
I'd like to add my vote for this. Its removal would result in a nicer language specification, and would remove a obstacle that novice programmers sometimes stumble over. Richard