On 19 December 2010 21:53, ender <crazyen...@gmail.com> wrote:
>   Thanks for your quick reply. So recursive and monad is the proper
> way to simulate loop,right?

Well, recursion (either explicitly or implicitly via map, fold, etc.)
rather than iteration (i.e. a loop) is the usual approach in Haskell.

-- 
Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com
IvanMiljenovic.wordpress.com

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

Reply via email to