On Tue, 30 Sep 2008, wman wrote:

Thanks a lot, I've had a hunch it was possible to get rid of those those
liftM's. I turned it into:

(writeFile "output.csv") . printCSV . (map updateLine) . (either (error "Chyba pri cteni CSV.") 
id) =<< parseCSVFromFile "input.csv"

You may even remove parentheses around 'writeFile', 'map' and 'either'.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to