Module Adaptor.Csv


module Csv: sig .. end
Adaptor module for comma-separated values files.

val adaptor : ?trim_space:bool ->
(< delim : Line.absent; fstab : 'a; group : 'b; key_value : 'c; mailcap : 'd;
passwd : 'e; ps : 'f; seq : 'g; source : 'h; stat : 'i > ->
< delim : < names : Line.absent; options : Line.present >; fstab : 'a;
group : 'b; key_value : 'c; mailcap : 'd; passwd : 'e; ps : 'f; seq : 'g;
source : 'h; stat : 'i >)
Adaptor.adaptor
Adaptor to split a shtream of CSV records.
val fitting : ?trim_space:bool ->
(< delim : Line.absent; fstab : 'a; group : 'b; key_value : 'c; mailcap : 'd;
passwd : 'e; ps : 'f; seq : 'g; source : 'h; stat : 'i > ->
< delim : < names : Line.absent; options : Line.present >; fstab : 'a;
group : 'b; key_value : 'c; mailcap : 'd; passwd : 'e; ps : 'f; seq : 'g;
source : 'h; stat : 'i >)
Adaptor.fitting_adaptor
Fitting for CSV records.
val reader : Reader.t
Read CSV records, including quoting and embedded newlines.
val splitter : ?trim_space:bool ->
(< delim : Line.absent; fstab : 'a; group : 'b; key_value : 'c; mailcap : 'd;
passwd : 'e; ps : 'f; seq : 'g; source : 'h; stat : 'i > ->
< delim : < names : Line.absent; options : Line.present >; fstab : 'a;
group : 'b; key_value : 'c; mailcap : 'd; passwd : 'e; ps : 'f; seq : 'g;
source : 'h; stat : 'i >)
Adaptor.splitter
Split a CSV record into fields.