| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Data.CSV.Conduit.Types
Synopsis
- data QuoteEmpty
- data CSVSettings = CSVSettings {
- csvSep :: !Char
- csvQuoteCharAndStyle :: !(Maybe (Char, QuoteEmpty))
- csvQuoteChar :: CSVSettings -> Maybe Char
- defCSVSettings :: CSVSettings
- defDontQuoteEmptyCSVSettings :: CSVSettings
- type Row a = [a]
- type MapRow a = Map a a
- type OrderedMapRow a = OMap a a
Documentation
data QuoteEmpty Source #
Constructors
| DoQuoteEmpty | |
| DontQuoteEmpty |
Instances
| Show QuoteEmpty Source # | |
Defined in Data.CSV.Conduit.Types Methods showsPrec :: Int -> QuoteEmpty -> ShowS # show :: QuoteEmpty -> String # showList :: [QuoteEmpty] -> ShowS # | |
| Eq QuoteEmpty Source # | |
Defined in Data.CSV.Conduit.Types | |
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
| |
Instances
| Show CSVSettings Source # | |
Defined in Data.CSV.Conduit.Types Methods showsPrec :: Int -> CSVSettings -> ShowS # show :: CSVSettings -> String # showList :: [CSVSettings] -> ShowS # | |
| Default CSVSettings Source # | |
Defined in Data.CSV.Conduit.Types Methods def :: CSVSettings # | |
| Eq CSVSettings Source # | |
Defined in Data.CSV.Conduit.Types | |
csvQuoteChar :: CSVSettings -> Maybe Char 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.