[Haskell-cafe] Sub-optimal [code]

Max Bolingbroke batterseapower at hotmail.com
Wed Feb 16 23:13:10 CET 2011

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

More information about the Haskell-Cafe mailing list