Module B00.Op.Read

module Read: sig .. end
File reads.

File reads

type t 
The type for file read operations.
val file : t -> B0_std.Fpath.t
file r is the file read by r.
val result : t -> (string, string) Pervasives.result
result r is the contents of the read file or an error.
val set_result : t -> (string, string) Pervasives.result -> unit
set_result r res sets the file read result of r to res.


val pp_result : (string, string) Pervasives.result B0_std.Fmt.t
pp_result formats the read result.
val pp : t B0_std.Fmt.t
pp formats a read.