csv-conduit-0.7.2.0: A flexible, fast, conduit-based CSV parser library for Haskell.
Safe HaskellSafe-Inferred
LanguageHaskell2010

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