3 ms·
Rosetta code is sometimes reasonable for answering these questions: http://rosettacode.org/wiki/CSV_data_manipulation#Haskell http://rosettacode.org/wiki/CSV_d
by maxerickson 13y ago
Rosetta code is sometimes reasonable for answering these questions:
http://rosettacode.org/wiki/CSV_data_manipulation#Haskell http://rosettacode.org/wiki/CSV_data_manipulation#Haskell
(early Google search result for 'rosetta code csv')
edit: Looking at the python code, I would call the approach esoteric, but I guess that's just an opinion (I would use the csv module without giving any consideration to the quality of the structured file). So who knows how idiomatic the code is.
- codygman 13y agoRealize that the Haskell is not using an external csv library like the others are before making judgements ;)
- maxerickson 13y agoA lot of them don't. I like the idea, but it's weird to not show the straightforward method of dealing with a csv. Some other toy problem would demonstrate opening files and a little parsing.