svfactor (hackage):   svfactor is a library for parsing, manipulating, and printing CSV and similar formats (such as PSV, TSV, and many more).  svfactor retains all syntactic information including newlines, and provides lenses, prisms, and traversals to query and manipulate this structure. This should make it useful for writing custom CSV transformations and sanitisation tools. For example, one could easily use it to rewrite all CRLF newlines to LF. It also extends RFC4180 by allowing optional spacing surrounding fields.  svfactor's parser is exposed so you can use it independently and printing is similarly standalone.  Please note that there are known performance problems with svfactor.  Examples:  Handling multiple logical documents in one file: Concat.hs  Fixing inconsistent formatting with lenses: Requote.hs  [Index]  Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.  Package maintainers  For package maintainers and hackage trustees  Candidates
Keywords: bsd3|csv|library|text|web