On 16/02/2011 06:31 PM, James Andrew Cook wrote:

Doesn't Control.Monad.replicateM_ do exactly that?

10 points to Gryffindore.

(Now, if only there was a version that feeds an integer to the monadic action as well... Still, it's not hard to implement.)

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

Reply via email to