module Exn: sig .. end
sig
end
type 'a t = ('a, exn) Core.Std.Result.t
'a
('a, exn) Core.Std.Result.t
val sexp_of_t : ('a -> Core.Std.Sexp.t) -> 'a t -> Core.Std.Sexp.t
('a -> Core.Std.Sexp.t) -> 'a t -> Core.Std.Sexp.t
include Monad.S
val ok : 'a t -> 'a
'a t -> 'a
ok t
x
t = Ok x
e
t = Error e