[Haskell-cafe] csv one-liner
666wman at gmail.com
Tue Sep 30 15:54:01 EDT 2008
True, true. And i told myself no-one would notice ;-))
On Tue, Sep 30, 2008 at 9:51 PM, Graham Fawcett <graham.fawcett at gmail.com>wrote:
> 2008/9/30 wman <666wman at gmail.com>:
> > 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"
> > and am sincerely hoping he will try to decypher it's meaning ;-)))
> It looks like you've added some good error-czeching code here. :-;
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe