[Haskell-cafe] How would you replace a field in a CSV file?

2006-10-01 Thread Pete Kazmier
The other day at work an opportunity arose where I was hoping to sneak some Haskell into the pipeline of tools used to process call detail records (CDRs). In the telecommunications industry, CDRs are used for billing. Each CDR is a single line record of 30 comma-separated values. Each line is ap

[Haskell-cafe] How would you replace a field in a CSV file?

2006-10-01 Thread tpledger
Hi Pete. For such a small self-contained task, I don't think Haskell is any better than Python. Haskell would come into its own if you wanted some assurance about type safety, and/or were taking on a task large enough to warrant the use of records (and hence record update notation). Regards, Tom

Re: [Haskell-cafe] How would you replace a field in a CSV file?

2006-10-02 Thread Bulat Ziganshin
Hello tpledger, Monday, October 2, 2006, 3:11:29 AM, you wrote: > For such a small self-contained task, I don't think Haskell > is any better than Python. i disagree. while it's hard to beat Python version in number of lines, Haskell version may have the same length and better performance. for