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