
I want to learn Haskell but still have some problems on using recursion. On simple tasks I can make it work but for example the tower of Hanoi I cannot figure out how things are can be solved. Is there a book or tutorial with exercises so I can pratice it Roelof --- Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. http://www.avast.com

A good way to practice is to implement all functions that you know from
Data.List. Most (all?) can be implemented using recursion, and then a
subsequent excercise would be to refactor them using foldr, foldl etc.
On 11 May 2015 at 21:14, Roelof Wobben
I want to learn Haskell but still have some problems on using recursion. On simple tasks I can make it work but for example the tower of Hanoi I cannot figure out how things are can be solved.
Is there a book or tutorial with exercises so I can pratice it
Roelof
--- Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. http://www.avast.com
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
-- Regards Sumit Sahrawat

You can try Haskell 99 problems [1]. At least first problems can help with
getting recursion (I haven't worked through later, so I don't know about
them).
[1]: https://wiki.haskell.org/H-99:_Ninety-Nine_Haskell_Problems
On Mon, May 11, 2015, 18:44 Roelof Wobben
I want to learn Haskell but still have some problems on using recursion. On simple tasks I can make it work but for example the tower of Hanoi I cannot figure out how things are can be solved.
Is there a book or tutorial with exercises so I can pratice it
Roelof
--- Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. http://www.avast.com
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
participants (3)
-
Alexey Shmalko
-
Roelof Wobben
-
Sumit Sahrawat, Maths & Computing, IIT (BHU)