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

Safe HaskellNone
LanguageHaskell98

Data.CSV.Conduit.Types

Synopsis

Documentation

data CSVSettings Source

Settings for a CSV file. This library is intended to be flexible and offer a way to process the majority of text data files out there.

Constructors

CSVSettings 

Fields

csvSep :: !Char

Separator character to be used in between fields

csvQuoteChar :: !(Maybe Char)

Quote character that may sometimes be present around fields. If Nothing is given, the library will never expect quotation even if it is present.

defCSVSettings :: CSVSettings Source

Default settings for a CSV file.

csvSep = ','
csvQuoteChar = Just '"'

type Row a = [a] Source

A Row is just a list of fields

type MapRow a = Map a a Source

A MapRow is a dictionary based on Map where column names are keys and row's individual cell values are the values of the Map.