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