[Haskell-beginners] help to learn recursion

Sumit Sahrawat, Maths & Computing, IIT (BHU) sumit.sahrawat.apm13 at iitbhu.ac.in
Mon May 11 15:49:36 UTC 2015


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 <r.wobben at home.nl> wrote:

> 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 at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>



-- 
Regards

Sumit Sahrawat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150511/22c7c022/attachment.html>


More information about the Beginners mailing list