Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Rosetta code is sometimes reasonable for answering these questions:

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.



Realize that the Haskell is not using an external csv library like the others are before making judgements ;)


A 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: