[Haskell-cafe] Strange subtract operator behavior

Henning Thielemann lemming at henning-thielemann.de
Wed Oct 17 03:51:27 EDT 2007


On Tue, 16 Oct 2007, Peter Verswyvelen wrote:

> Concurrent Clean uses the ~ symbol for unary negation. That's also a way
> of fixing it.
>
> 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.

Me seems, that this discussion came up several times:
  http://www.haskell.org/haskellwiki/Unary_minus


More information about the Haskell-Cafe mailing list