Safe Haskell | Safe-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.
- parseCSV :: CSVSettings -> ByteString -> Either String [Row ByteString]
- parseRow :: CSVSettings -> ByteString -> Either String (Maybe (Row ByteString))
- row :: CSVSettings -> Parser (Maybe (Row ByteString))
- csv :: CSVSettings -> Parser [Row ByteString]
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
csv :: CSVSettings -> Parser [Row ByteString]Source
Parse CSV