[Haskell-beginners] accumenlator problem

Roelof Wobben r.wobben at home.nl
Wed May 13 12:11:29 UTC 2015


Nishant schreef op 13-5-2015 om 14:04:
> number > 0 =  toDigitsAcc ((number `mod` 10) : acc) (number `div` 10)

Thanks, I now see where my thinking took the wrong way

Roelof


---
Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
http://www.avast.com



More information about the Beginners mailing list