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

Safe HaskellSafe
LanguageHaskell98

Data.CSV.Conduit.Parser.Text

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 -> Text -> Either String [Row Text] Source #

Try to parse given string as CSV

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

Try to parse given string as 'Row Text'

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

Parse a CSV row

csv :: CSVSettings -> Parser [Row Text] Source #

Parse CSV