DEV Community

Discussion on: Please help me with this haskell program.

Collapse
 
benjioe profile image
Benjioe • Edited

You can use recursion too :

  • How can you check if a "digit" is odd?
  • How can you apply a function only on first digit?
  • How can you apply that function on each other digits?
Collapse
 
shashwatseth profile image
Shashwat Seth

Thanks man