pipes-cellular-csv-1.0.0.0: Efficient pipes-based cellular CSV codec

Copyright© 2015 Patryk Zadarnowski <pat@jantar.org>
LicenseBSD3
Maintainerpat@jantar.org
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Pipes.CSV.Syntax

Description

CSV syntax elements as defined in RFC 4180.

Synopsis

Documentation

pattern LF :: Word8 Source

line byte value

pattern CR :: Word8 Source

carriage return byte value

pattern QC :: Word8 Source

quote character byte value

pattern CC :: Word8 Source

comma character byte value

isSpecial :: Word8 -> Bool Source

Identifies special byte values, which should never appear within unquoted CSV fields.

fieldDelimiter :: ByteString.ByteString Source

The field delimiter string (a quote character.)

fieldSeparator :: ByteString.ByteString Source

The field separator string (a comma character.)

recordSeparator :: ByteString.ByteString Source

The field separator (CR+LF byte sequence.)

quoteSequence :: ByteString.ByteString Source

An escaped quote string (double quote character.)