csv-enumerator-0.10.1.0: A flexible, fast, enumerator-based CSV parser library for Haskell.

Data.CSV.Enumerator.Parser

Description

This module exports the underlying Attoparsec row parser. This is helpful if you want to do some ad-hoc CSV string parsing.

Synopsis

Documentation

parseCSV :: CSVSettings -> ByteString -> Either String [Row]Source

Try to parse given string as CSV

parseRow :: CSVSettings -> ByteString -> Either String (Maybe Row)Source

Try to parse given string as Row

row :: CSVSettings -> Parser (Maybe Row)Source

Parse a CSV row

csv :: CSVSettings -> Parser [Row]Source

Parse CSV