encode package:cassava

Efficiently serialize CSV records as a lazy ByteString.
Efficiently serialize records in an incremental fashion. Equivalent to encodeWith defaultEncodeOptions.
Efficiently serialize CSV records as a lazy ByteString. The header is written before any records and dictates the field order.
Like encodeByName, but lets you customize how the CSV data is encoded.
Like encodeByName, but header and field order is dictated by the header method.
Like encodeDefaultOrderedByNameWith, but lets you customize how the CSV data is encoded.
Like encode, but lets you customize how the CSV data is encoded.
Encode a single named record, using the default field order.
Like encodeDefaultOrderedNamedRecord, but lets you customize how the CSV data is encoded.
Encode a header.
Like encodeHeader, but lets you customize how the CSV data is encoded.
Encode a single named record, given the field order.
Like encodeNamedRecord, but lets you customize how the CSV data is encoded.
Encode a single record.
Like encodeRecord, but lets you customize how the CSV data is encoded.
Efficiently serialize named records in an incremental fashion, including the leading header. Equivalent to encodeWith defaultEncodeOptions. The header is written before any records and dictates the field order.
Like encodeByName, but lets you customize how the CSV data is encoded.
Like encodeByName, but header and field order is dictated by the headerOrder method.
Like encodeDefaultOrderedByName, but lets you customize how the CSV data is encoded.
Encode a single named record.
Encode a single record.
Like encode, but lets you customize how the CSV data is encoded.
Options that controls how data is encoded. These options can be used to e.g. encode data in a tab-separated format instead of in a comma-separated format. To avoid having your program stop compiling when new fields are added to EncodeOptions, create option records by overriding values in defaultEncodeOptions. Example:
myOptions = defaultEncodeOptions {
encDelimiter = fromIntegral (ord '\t')
}
N.B. The encDelimiter must not be the quote character (i.e. ") or one of the record separator characters (i.e. \n or \r).
Encoding options for CSV files.