csv-conduit-0.2.1.1: A flexible, fast, conduit-based CSV parser library for Haskell.

Safe HaskellSafe-Infered

Data.CSV.Conduit.Parser.ByteString

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 ByteString]Source

Try to parse given string as CSV

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

Try to parse given string as 'Row ByteString'

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

Parse a CSV row