Util_pure.Resulttype 'a rt = 'a rresultval decorate_error_s : decorate_s -> ('a, string) t -> ('a, string) tval rdecorate_error : decorate_s -> 'a rresult -> 'a rresultval map_s :
decorate_error:decorate_s ->
('a -> 'b) ->
('a, string) t ->
('b, string) tval rmap : ?decorate_error:decorate_s -> ('a -> 'b) -> 'a rt -> 'b rtval fold : ('a -> 'c) -> ('b -> 'c) -> ('a, 'b) t -> 'cGiven a list of functions rs where r : unit -> ('a, 'b) t, find the first one which returns Ok result. If found, return Some result, otherwise None.
Given a list of functions rs where r : unit -> ('a, 'b) t, find the first one which returns Ok result. If found, return Some result, otherwise None.
Like list_find_f_ok, but on failure it returns Error of 'b list, which has the same length as rs and contains the Error values that were encountered during the attempt.
Like list_find_f_ok, but on failure it returns Error of 'b list, which has the same length as rs and contains the Error values that were encountered during the attempt.
module Infix : sig ... endA combination of Infix and Let (for let* etc.)
module Letsfix : sig ... endA combination of Infix and Let (for let* etc.)