Copyright | © 2015 Patryk Zadarnowski <pat@jantar.org> |
---|---|
License | BSD3 |
Maintainer | pat@jantar.org |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Pipes.CSV.Syntax
Description
CSV syntax elements as defined in RFC 4180.
- pattern LF :: Word8
- pattern CR :: Word8
- pattern QC :: Word8
- pattern CC :: Word8
- isSpecial :: Word8 -> Bool
- fieldDelimiter :: ByteString.ByteString
- fieldSeparator :: ByteString.ByteString
- recordSeparator :: ByteString.ByteString
- quoteSequence :: ByteString.ByteString
Documentation
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.)