Prefix negation
John Peterson
peterson-john@cs.yale.edu
Wed, 29 Aug 2001 11:19:51 -0400
Pardon me - I was explaining the intuition rather than the
translation. -x is translated to negate x but as far as fixity, you
have to appeal to the 0-x notion. The basic idea is that the
precedence of unary and infix - are the same in this way.
I did a brief search of the old haskell committee mail, but I don't
have the definitive message about unary minus around anymore as far as
I can see. We seem to have finally given up on the debate by Haskell
1.3.
John