IO

This document is auto-generated for Owl’s APIs. #18 entries have been extracted.

Github: {Signature} {Implementation}

Read and write operations

val read_file : ?trim:bool -> string -> string array

TODO

source code

val read_file_string : string -> string

TODO

source code

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

TODO

source code

val marshal_from_file : string -> 'a

TODO

source code

val marshal_to_file : 'a -> string -> unit

TODO

source code

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

TODO

source code

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

TODO

source code

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

TODO

source code

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

TODO

source code

Iteration functions

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

TODO

source code

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

TODO

source code

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

TODO

source code

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

TODO

source code

Helper functions

val head : int -> string -> string array

TODO

source code

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

TODO

source code