sv-core-0.4: Encode and decode separated values (CSV, PSV, ...)

Copyright(C) CSIRO 2017-2018
LicenseBSD3
MaintainerGeorge Wilson <george.wilson@data61.csiro.au>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellSafe
LanguageHaskell2010

Data.Sv.Structure.Newline

Description

 
Synopsis

Documentation

newtype Newline Source #

Newline is a newtype around ByteString

Constructors

UnsafeMkNewline 
Instances
Eq Newline Source # 
Instance details

Defined in Data.Sv.Structure.Newline

Methods

(==) :: Newline -> Newline -> Bool #

(/=) :: Newline -> Newline -> Bool #

Ord Newline Source # 
Instance details

Defined in Data.Sv.Structure.Newline

Show Newline Source # 
Instance details

Defined in Data.Sv.Structure.Newline

newlineToBuilder :: Newline -> Builder Source #

Convert a Newline to a ByteString Builder. This is used by encoding.

crlf :: Newline Source #

DOS newlines: a carriage return character followed by a line feed character

lf :: Newline Source #

Unix/Linux newlines: a line feed character