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

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

Data.Sv.Print.Internal

Description

This module is considered an implementation detail. As the Internal module name suggests, this module is exempt from the PVP, so depend on it at your own risk! These functions exist to be called by Data.Sv.Print.

Synopsis

Documentation

printNewline :: Newline -> Builder Source #

Convert a Newline to a ByteString Builder

printField :: PrintOptions s -> Field s -> Builder Source #

Convert a Field to a ByteString Builder

printSpaced :: PrintOptions s -> SpacedField s -> Builder Source #

Convert a SpacedField to a ByteString Builder

printRecord :: PrintOptions s -> Separator -> Record s -> Builder Source #

Convert a Record to a ByteString Builder

printRecords :: PrintOptions s -> Separator -> Records s -> Builder Source #

Convert Records to a ByteString Builder.

printHeader :: PrintOptions s -> Separator -> Header s -> Builder Source #

Convert Header to a ByteString Builder.