package csv

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = string list list
class type in_obj_channel = object ... end
class type out_obj_channel = object ... end
exception Failure of int * int * string
type in_channel
val of_in_obj : ?separator:char -> ?excel_tricks:bool -> in_obj_channel -> in_channel
val of_channel : ?separator:char -> ?excel_tricks:bool -> Pervasives.in_channel -> in_channel
val of_string : ?separator:char -> ?excel_tricks:bool -> string -> in_channel
val load : ?separator:char -> ?excel_tricks:bool -> string -> t
val load_in : ?separator:char -> ?excel_tricks:bool -> Pervasives.in_channel -> t
val to_in_obj : in_channel -> in_obj_channel
val close_in : in_channel -> unit
val next : in_channel -> string list
val fold_left : ('a -> string list -> 'a) -> 'a -> in_channel -> 'a
val fold_right : (string list -> 'a -> 'a) -> in_channel -> 'a -> 'a
val iter : f:(string list -> unit) -> in_channel -> unit
val input_all : in_channel -> t
val current_record : in_channel -> string list
val load_rows : ?separator:char -> ?excel_tricks:bool -> (string list -> unit) -> Pervasives.in_channel -> unit
type out_channel
val to_out_obj : ?separator:char -> ?excel_tricks:bool -> out_obj_channel -> out_channel
val to_channel : ?separator:char -> ?excel_tricks:bool -> Pervasives.out_channel -> out_channel
val output_record : out_channel -> string list -> unit
val output_all : out_channel -> t -> unit
val save_out : ?separator:char -> ?excel_tricks:bool -> Pervasives.out_channel -> t -> unit
val save : ?separator:char -> ?excel_tricks:bool -> string -> t -> unit
val print : ?separator:char -> ?excel_tricks:bool -> t -> unit
val print_readable : t -> unit
val save_out_readable : Pervasives.out_channel -> t -> unit
val lines : t -> int
val columns : t -> int
val trim : ?top:bool -> ?left:bool -> ?right:bool -> ?bottom:bool -> t -> t
val square : t -> t
val is_square : t -> bool
val set_columns : int -> t -> t
val set_rows : int -> t -> t
val set_size : int -> int -> t -> t
val sub : int -> int -> int -> int -> t -> t
val compare : t -> t -> int
val concat : t list -> t
val transpose : t -> t
val to_array : t -> string array array
val of_array : string array array -> t
val associate : string list -> t -> (string * string) list list
OCaml

Innovation. Community. Security.