Branimir Maksimovic wrote:

> >Could you give an example of a loop you find awkward in Haskell?
> 
> Well I want simple loop for(int i =0;i<10;++i)doSomething(i);

        mapM_ doSomething [0..9]

-- 
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to