On 16 February 2011 21:51, Andrew Coppin <andrewcoppin at btinternet.com> wrote: > (Now, if only there was a version that feeds an integer to the monadic > action as well... Still, it's not hard to implement.) As simple as: forM [1..x] mk_my_action