package owl-base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
Read and write operations
val read_file : ?trim:bool -> string -> string array

TODO

val read_file_string : string -> string

TODO

val write_file : ?_flag:open_flag -> string -> string -> unit

TODO

val marshal_from_file : string -> 'a

TODO

val marshal_to_file : ?flags:Marshal.extern_flags list -> 'a -> string -> unit

TODO

val read_csv : ?sep:char -> string -> string array array

TODO

val write_csv : ?sep:char -> string array array -> string -> unit

TODO

val read_csv_proc : ?sep:char -> (int -> string array -> unit) -> string -> unit

TODO

val write_csv_proc : ?sep:char -> 'a array array -> ('a -> string) -> string -> unit

TODO

Iteration functions
val iteri_lines_of_file : ?verbose:bool -> (int -> string -> unit) -> string -> unit

TODO

val mapi_lines_of_file : (int -> string -> 'a) -> string -> 'a array

TODO

val iteri_lines_of_marshal : ?verbose:bool -> (int -> 'a -> unit) -> string -> unit

TODO

val mapi_lines_of_marshal : (int -> 'a -> 'b) -> string -> 'b array

TODO

Helper functions
val head : int -> string -> string array

TODO

val csv_head : ?sep:char -> int -> string -> string array

TODO

OCaml

Innovation. Community. Security.