Hello Matthias, Saturday, July 4, 2009, 6:39:30 PM, you wrote: > Or use a fold: >> process' = foldl op True files >> op True file = doit file >> op False _ = False foldM, probably, otherwise you will need to execute all actions before running fold -- Best regards, Bulat mailto:Bulat.Ziganshin at gmail.com