drasil-data-formats-0.0.1: A framework for code and document generation for scientific software
Safe HaskellSafe-Inferred
LanguageHaskell2010

Drasil.Data.Formats.CSV.Render

Contents

Synopsis

Rendering

data CSVRenderOptions Source #

Options for rendering a CSV.

data DoubleQuotationPolicy Source #

Cell-wrapping policy: How often should cells be wrapped in double quotes?

Constructors

Minimal

Only when necessary, i.e., a cell contains either double quotes, a comma, CR, LF, or CRLF.

Everywhere

Everywhere.

renderCSV :: CSVRenderOptions -> CSV -> Doc ann Source #

Render a CSV to a Doc with the given options.