Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Data.CSV.Conduit.Types
Synopsis
- data CSVSettings = CSVSettings {
- csvSep :: !Char
- csvQuoteChar :: !(Maybe Char)
- defCSVSettings :: CSVSettings
- type Row a = [a]
- type MapRow a = Map a a
- type OrderedMapRow a = OMap a a
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 | |
Instances
Read CSVSettings Source # | |
Defined in Data.CSV.Conduit.Types | |
Show CSVSettings Source # | |
Defined in Data.CSV.Conduit.Types | |
Default CSVSettings Source # | |
Defined in Data.CSV.Conduit.Types Methods def :: CSVSettings # | |
Eq CSVSettings Source # | |
Defined in Data.CSV.Conduit.Types Methods (==) :: CSVSettings -> CSVSettings -> Bool Source # (/=) :: CSVSettings -> CSVSettings -> Bool Source # |
defCSVSettings :: CSVSettings Source #
Default settings for a CSV file.
csvSep = ',' csvQuoteChar = Just '"'
type OrderedMapRow a = OMap a a Source #
An OrderedMapRow
is a dictionary based on Ordered
where column
names are keys and row's individual cell values are the values of the OMap
.
Unlike MapRow
, OrderedMapRow
preserves the insertion ordering of columns.
OrderedMapRow
is a reasonable default in most cases.