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_param/index.html

Module Csv_tool_lib.Csv_paramSource

include Csv_param_intf.Csv_param
Sourcemodule Open_on_rhs_intf = Csv_param_intf.Open_on_rhs_intf
include Open_on_rhs_intf.S
include module type of struct include Async.Command.Param end
module type S = sig ... end
type 'a t = 'a Command.Param.t
val return : 'a -> 'a t
val map : 'a t -> f:('a -> 'b) -> 'b t
val both : 'a t -> 'b t -> ('a * 'b) t
val (<*>) : ('a -> 'b) t -> 'a t -> 'b t
val (<*) : 'a t -> unit t -> 'a t
val (*>) : unit t -> 'a t -> 'a t
val (>>|) : 'a t -> ('a -> 'b) -> 'b t
val apply : ('a -> 'b) t -> 'a t -> 'b t
val map2 : 'a t -> 'b t -> f:('a -> 'b -> 'c) -> 'c t
val map3 : 'a t -> 'b t -> 'c t -> f:('a -> 'b -> 'c -> 'd) -> 'd t
val all : 'a t list -> 'a list t
val all_unit : unit t list -> unit t
module Applicative_infix : sig ... end
val flag : ?aliases:Base.string Base.list -> ?full_flag_required:Base.unit -> Base.string -> 'a Command.Flag.t -> doc:Base.string -> 'a t
val flag_optional_with_default_doc : ?aliases:Base.string Base.list -> ?full_flag_required:Base.unit -> Base.string -> 'a Command.Arg_type.t -> ('a -> Base.Sexp.t) -> default:'a -> doc:Base.string -> 'a t
val anon : 'a Command.Anons.t -> 'a t
val escape_anon : final_anon:'a Command.Anons.t -> ('a * Base.string Base.list) t
module If_nothing_chosen : sig ... end
val choose_one : 'a Base.option t Base.list -> if_nothing_chosen:('a, 'b) If_nothing_chosen.t -> 'b t
val choose_one_non_optional : 'a t Base.list -> if_nothing_chosen:('a, 'b) If_nothing_chosen.t -> 'b t
val and_arg_names : 'a t -> ('a * Base.string Base.list) t
val and_arg_name : 'a t -> ('a * Base.string) t
val arg_names : 'a t -> Base.string Base.list
val optional_to_required : 'a Base.option t -> 'a t
val required : 'a Command.Arg_type.t -> 'a Command.Flag.t
val optional : 'a Command.Arg_type.t -> 'a Base.option Command.Flag.t
val optional_with_default : 'a -> 'a Command.Arg_type.t -> 'a Command.Flag.t
val listed : 'a Command.Arg_type.t -> 'a Base.list Command.Flag.t
val one_or_more_as_pair : 'a Command.Arg_type.t -> ('a * 'a Base.list) Command.Flag.t
val one_or_more_as_list : 'a Command.Arg_type.t -> 'a Base.list Command.Flag.t
val no_arg : Base.bool Command.Flag.t
val no_arg_register : key:'a Univ_map.With_default.Key.t -> value:'a -> Base.bool Command.Flag.t
val no_arg_some : 'a -> 'a Base.option Command.Flag.t
val no_arg_required : 'a -> 'a Command.Flag.t
val no_arg_abort : exit:(Base.unit -> Base.Nothing.t) -> Base.unit Command.Flag.t
val escape : Base.string Base.list Base.option Command.Flag.t
val escape_with_autocomplete : complete:Command.Auto_complete.For_escape.t -> Base.string Base.list Base.option Command.Flag.t
val map_flag : 'a Command.Flag.t -> f:('a -> 'b) -> 'b Command.Flag.t
val (%:) : Base.string -> 'a Command.Arg_type.t -> 'a Command.Anons.t
val sequence : 'a Command.Anons.t -> 'a Base.list Command.Anons.t
val non_empty_sequence_as_pair : 'a Command.Anons.t -> ('a * 'a Base.list) Command.Anons.t
val non_empty_sequence_as_list : 'a Command.Anons.t -> 'a Base.list Command.Anons.t
val maybe : 'a Command.Anons.t -> 'a Base.option Command.Anons.t
val maybe_with_default : 'a -> 'a Command.Anons.t -> 'a Command.Anons.t
val t2 : 'a Command.Anons.t -> 'b Command.Anons.t -> ('a * 'b) Command.Anons.t
val t3 : 'a Command.Anons.t -> 'b Command.Anons.t -> 'c Command.Anons.t -> ('a * 'b * 'c) Command.Anons.t
val t4 : 'a Command.Anons.t -> 'b Command.Anons.t -> 'c Command.Anons.t -> 'd Command.Anons.t -> ('a * 'b * 'c * 'd) Command.Anons.t
val map_anons : 'a Command.Anons.t -> f:('a -> 'b) -> 'b Command.Anons.t
val parse : 'a t -> Base.string Base.list -> 'a Base.Or_error.t
module Arg_type : sig ... end
val string : Base.string Command.Arg_type.t
val int : Base.int Command.Arg_type.t
val char : Base.char Command.Arg_type.t
val float : Base.float Command.Arg_type.t
val bool : Base.bool Command.Arg_type.t
val sexp : Base.Sexp.t Command.Arg_type.t
val sexp_conv : ?complete:Command.Auto_complete.t -> (Base.Sexp.t -> 'a) -> 'a Command.Arg_type.t
val date : Core__.Date.t Core__Command_internal.Arg_type.t
val percent : Core__.Percent.t Core__Command_internal.Arg_type.t
val host_and_port : Core__.Host_and_port.t Core__Command_internal.Arg_type.t
Sourceval file_stdin_anon : Csv_common.Or_file.t t
Sourceval file_stdin_flag : Csv_common.Or_file.t t
Sourceval files : string list t
Sourceval reverse : bool t
Sourceval reverse_fields : string list t
Sourceval field : string t
Sourceval field' : aliases:string list -> string t
Sourceval time_field : string t
Sourceval start_time : Core.Time_float.t t
Sourceval stop_time : Core.Time_float.t t
Sourceval grid_step : Core.Time_float.Span.t t
Sourceval max_width : int option t
Sourceval prefer_split_on_spaces : bool t
Sourceval regexp_arg : Re2.t Arg_type.t
Sourceval regexp : Re2.t t
Sourceval invert : bool t
Sourceval skip_lines : int option t
Sourceval sep_arg : char Arg_type.t
Sourceval sep : char t
Sourceval key_specifier : string t
Sourceval no_header : bool t
Sourceval space : int t
Sourceval suppress_header : bool t
Sourceval fields_gen : doc:string -> string list t
Sourceval fields : string list t
Sourceval fields_backward_compat : string list t
Sourceval pop_fields : string list t
Sourceval exclude_fields : bool t
Sourceval table_attrs : (string * string option) list t
Sourceval th_attrs : (string * string option) list t
Sourceval tr_attrs : (string * string option) list t
Sourceval td_attrs : (string * string option) list t
Sourceval border : bool t
include Core.Applicative.Let_syntax with type 'a t := 'a Async.Command.Param.t with module Open_on_rhs_intf := Open_on_rhs_intf
module Let_syntax : sig ... end
OCaml

Innovation. Community. Security.