On 19 December 2010 21:53, ender <[email protected]> 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
[email protected]
IvanMiljenovic.wordpress.com

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to