val return : 'a -> ('a, _) tval ok : 'a -> ('a, _) tval is_ok : (_, _) t -> boolval is_error : (_, _) t -> boolval iter : ('a, _) t -> f:('a -> unit) -> unitval 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 errorf : ('a, unit, string, (_, string) t) Stdlib.format4 -> 'aProduce Error <message>
type ('a, 'error) result = ('a, 'error) tFor compatibility with some other code
module List : sig ... endmodule Option : sig ... end