[Haskell-cafe] negate and -

Maurí­cio briqueabraque at yahoo.com
Thu May 17 12:50:15 EDT 2007


Hi,

Haskell language reference says the special -
operator translates to negate. However, this:

(+ negate 5) 5

works but this:

(+ -5) 5

is not valid. Why?

Thanks,
Maurício



More information about the Haskell-Cafe mailing list