Parsing CSV files

John Meacham
Tue, 29 Jul 2003 15:17:10 -0700

perhaps something like ''s script section. where anyone can
post a script (or haskell file). and everyone can immediatly see and
download it. the good ones filter to the top, and since the individual
files don't need to be part of a larger library infrastructure there is
much more capability for ad hoc code reuse... 

On Tue, Jul 29, 2003 at 08:33:07PM +0100, Graham Klyne wrote:
> At 11:40 29/07/03 -0700, John Meacham wrote:
> >Hey, I wrote a CSV parser too. seeing as how this seems like a common
> >thing (having 3 independent implementations at least), perhaps it
> >belongs in libraries somewhere? some area dedicated to useful little
> >grammers would be handy. csv, c header files, .x (rpcgen), various
> >preference file formats, etc...
> Maybe the approach to standard library should be via a "cookbook" of some 
> kind?
> I tend to find that with functions like reading CSV, different applications 
> have slightly different requirements, so it doesn't always help to have a 
> one-size-fits-all function in the library, at least until the range of 
> variations is well understood.
> Which is all by way of agreeing with your second suggestion.
> #g
> -------------------
> Graham Klyne
> <>
> PGP: 0FAA 69FF C083 000B A2E9  A131 01B9 1C7A DBCA CB5E
> -- 
> Haskell-Cafe mailing list

John Meacham - California Institute of Technology, Alum. -