val of_file : Fpath.t -> (Yaml.value, Rresult.R.msg) Result.resultof_file p will read the whole of the file at path p and convert it in a Yaml.value.
val of_file_exn : Fpath.t -> Yaml.valueof_file_exn p acts as of_file, but errors are thrown as a Failure exception instead of in the return value.
val to_file : Fpath.t -> Yaml.value -> (unit, Rresult.R.msg) Result.resultto_file p v will convert the Yaml value v to a string and write it to the file at path p.
val to_file_exn : Fpath.t -> Yaml.value -> unitto_file_exn p acts as to_file, but errors are thrown as a Failure exception instead of in the return value.