Does mapM work for you? Don't you run into too many files open error?
Regards,
Kashyap


On Tue, Jun 24, 2014 at 10:11 PM, Tom Ellis <tom-lists-haskell-cafe-2013@jaguarpaw.co.uk> wrote:
On Tue, Jun 24, 2014 at 10:07:32PM +0530, C K Kashyap wrote:
> Indeed it works. Thank you so much Tom.
> Sorry about the false alarm.

Interestingly with `mapMI` it is twice as fast as with `mapM`.  I haven't
dug futher into that but at least you're getting reasonable speeds yet so
you can decide how important that is to you.

Tom
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe