[Haskell-cafe] Cont, ContT and IO()

Bulat Ziganshin bulat.ziganshin at gmail.com
Sat Jul 4 10:42:47 EDT 2009


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



More information about the Haskell-Cafe mailing list