March Docs

CodecCsvText

Types

ptypeCsvModeCsvMode = CellStart | CellBare | CellQuoted | CellClosed#

Functions

fnformatformat(rows : List(List(String))) : String#
fnparseparse(s : String) : Result(List(List(String)), CodecError.Error) do go(string_chars(s), CellStart, Nil, Nil, Nil, false) end#

Pure strict CSV: LF/CRLF rows, quoted multiline fields, doubled quote escapes.