<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Concurrent Clean uses the ~ symbol for unary negation. That's also a
way of fixing it.<br>
<br>
Personally I could also live with allowing no space between the minus
sign and the number... If you leave a space, - becomes the subtract
operator.<br>
<br>
Coming from C++ I always make the mistake to forget parentheses around
negative numbers in Haskell, which is very often needed.<br>
<br>
Neil Mitchell wrote:
<blockquote
 cite="mid:404396ef0710161034g3b794106u9ae2dbea6d9e34b4@mail.gmail.com"
 type="cite">
  <pre wrap="">Hi

  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">I think you should have to write negative numbers using the syntax
0-10, since currently having one single unary operator is ugly.
      </pre>
    </blockquote>
    <pre wrap="">I think writing 0-10 is ugly.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Ugly - yes. But very clear as to its meaning. How often do people
actually write negative numeric literals? My guess is that -1 is the
most common by a long way, but even that is quite rare. Of course,
real statistics of real programs are the only answer.

Thanks

Neil


  </pre>
</blockquote>
<br>
</body>
</html>