module Utils:sig
..end
val trim_left : string -> string
val trim_right : string -> string
val trim : string -> string
val read_lines : string -> string list
read_lines filename
returns the lines from the file named filename
.
Raises an exception if an i/o error occurs.
val write_lines : string -> string list -> unit
write_lines filename lines
writes the strings from lines
to the file
named filename
.
Raises an exception if an i/o error occurs.