package janestreet_csv

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

Install

Dune Dependency

Authors

Maintainers

Sources

janestreet_csv-v0.16.0.tar.gz
sha256=c039eeef15bc68460984e74a003c3068da2e4854c4dc2cdcfec6be946f2b0a65

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 Base__Ppx_compare_lib.compare
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.