Safe Haskell | Safe |
---|---|
Language | Haskell98 |
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
- parseCSV :: CSVSettings -> Text -> Either String [Row Text]
- parseRow :: CSVSettings -> Text -> Either String (Maybe (Row Text))
- row :: CSVSettings -> Parser (Maybe (Row Text))
- csv :: CSVSettings -> Parser [Row Text]
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'