Module Csv_lwt.Rows

val header : in_channel ‑> string list

The header declared for this channel.

val set_header : ?⁠replace:bool ‑> in_channel ‑> string list ‑> unit

See Csv.Rows.set_header.

val next : in_channel ‑> Row.t Lwt.t

See Csv.Rows.next.

val fold_left : f:('a ‑> Row.t ‑> 'a Lwt.t) ‑> init:'a ‑> in_channel ‑> 'a Lwt.t

See Csv.fold_left.

val fold_right : f:(Row.t ‑> 'a ‑> 'a Lwt.t) ‑> in_channel ‑> 'a ‑> 'a Lwt.t

See Csv.fold_right.

val iter : f:(Row.t ‑> unit Lwt.t) ‑> in_channel ‑> unit Lwt.t

See Csv.iter.

val input_all : in_channel ‑> Row.t list Lwt.t

See Csv.input_all.

val load : ?⁠separator:char ‑> ?⁠strip:bool ‑> ?⁠has_header:bool ‑> ?⁠header:string list ‑> ?⁠backslash_escape:bool ‑> ?⁠excel_tricks:bool ‑> ?⁠fix:bool ‑> string ‑> Row.t list Lwt.t

See Csv.load.

val current : in_channel ‑> Row.t

See Csv.current_record.