(** Return a stream of lines *) val to_stream : string -> string Stream.t (** Return a list of a lines *) val to_list : string -> string list (** Write a list of lines to a file *) val of_list : string list -> string -> unit (** Modify a file "in place" by loading it into memory, applying f to each line, and writing the result to the same path. *) val map : (string -> string) -> string -> unit (** Apply f to each line of a file *) val iter : (string -> unit) -> string -> unit