Result.Monad
The result type encapsulated in a module which satisfies the monadic interface.
module E : Interfaces.ANY
type 'a t = ('a, E.t) Stdlib.result
val return : 'a -> 'a t
val fail : E.t -> 'a t
val to_option : 'a t -> 'a option
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val let* : 'a t -> ('a -> 'b t) -> 'b t