[Haskell-cafe] Unary Minus

Wouter Swierstra wss at cs.nott.ac.uk
Mon Apr 6 04:36:02 EDT 2009


> If I use :info (-) I get information on the binary minus. Is unary  
> minus also a function?

You can define it yourself or use "negate" from the Prelude.

   Wouter


More information about the Haskell-Cafe mailing list