Stdune.ResultResult type
val ok : 'a -> ('a, _) tval is_ok : (_, _) t -> boolval is_error : (_, _) t -> boolval ok_exn : ('a, exn) t -> 'aval try_with : (unit -> 'a) -> ('a, exn) tval hash : ('a -> int) -> ('b -> int) -> ('a, 'b) t -> intmodule O : sig ... endval to_option : ('a, 'error) t -> 'a optionval to_dyn :
'a Dyn.Encoder.t ->
'error Dyn.Encoder.t ->
('a, 'error) t Dyn.Encoder.tval iter : ('a, _) t -> f:('a -> unit) -> unittype ('a, 'error) result = ('a, 'error) tFor compatibility with some other code
module List : sig ... endmodule Option : sig ... end