(/ 10) means the function that divides its argument by 10
(- 10) however is just the number -10, even if I put a space between the - and 10.

How can I create a function that subtracts 10 from its argument in a clean way then?

I could use (flip (-) 10) but that looks like a hack.

Thanks,
Peter








_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to