CSV and TSV
This library provides functions for reading and writing the CSV
and TSV
formats.
Require it as
csv before using the qualified names:
use ys::csv: :as csv
read(S)— Short name forcsv/read-csv(S)read-csv(s)— Convert a CSV string to a list of listsread-tsv(s)— Convert a TSV string to a list of listswrite(S)— Short name forcsv/write-csv(S)-
write-csv(LoL)— Convert a list of lists to a CSV string | -
write-tsv(LoL)— Convert a list of lists to a TSV string