
9 Sep
2007
9 Sep
'07
5:36 p.m.
Malcolm Wallace wrote:
Incidentally, the nhc98 compiler has always permitted the definition of unary operators, as an extension to the language. (It was just more convenient to create a general mechanism for unary/prefix operators, than to code the special case for negative numbers.) Cool! I found it rather ugly that the negation operator was wired-in. It's a petty this is not part of the upcoming Haskell standard, or is it? GHC can't do this right?
Peter