module Future.Result: Extlib.Resulttype('a, 'b)t =('a, 'b) Extlib.Std.result
val catch : ('a -> 'b) -> 'a -> ('b, exn) Extlib.Std.result!resultval of_option : 'a option -> ('a, unit) Extlib.Std.resultoption to a resultval to_option : ('a, 'b) Extlib.Std.result -> 'a optionresult to an optionval bind : ('a, 'b) Extlib.Std.result ->
('a -> ('c, 'b) Extlib.Std.result) -> ('c, 'b) Extlib.Std.result
bind r f proceeds as f x if r is Ok x, or returns r if
r is an error.
val (>>=) : ('a, 'b) Extlib.Std.result ->
('a -> ('c, 'b) Extlib.Std.result) -> ('c, 'b) Extlib.Std.resultbindval t_of_sexp : (Sexplib.Sexp.t -> 'a) ->
(Sexplib.Sexp.t -> 'b) -> Sexplib.Sexp.t -> ('a, 'b) tval sexp_of_t : ('a -> Sexplib.Sexp.t) ->
('b -> Sexplib.Sexp.t) -> ('a, 'b) t -> Sexplib.Sexp.t