package janestreet_csv

  1. Overview
  2. Docs
Tools for working with CSVs on the command line

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=8940b4aa979a3bd5993b52d36cd768fd3bd5d1fb11c36c9c269ee646c7511a41

doc/janestreet_csv.csv_tool_lib/Csv_tool_lib/Csv_common/index.html

Module Csv_tool_lib.Csv_commonSource

Sourcetype t = {
  1. header : string list;
  2. lines : string list list;
}
include Ppx_compare_lib.Comparable.S with type t := t
Sourceval compare : t -> t -> int
include Sexplib0.Sexpable.S with type t := t
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
type csv := t
Sourceval empty : t
Sourceval print_csv : ?separator:char -> t -> unit
Sourceval load : ?separator:char -> string -> t
Sourceval load_all : ?separator:char -> string list -> t list
Sourcemodule Or_file : sig ... end
Sourceval of_csvlib_csv : string list list -> t

of_csvlib_csv rows assumes the first row is a header. It raises if rows = [].

OCaml

Innovation. Community. Security.