tezos-error-monad

Tezos: error monad
Library tezos-error-monad
val return : 'a -> 'a option Lwt.t
val return_unit : unit option Lwt.t
val return_nil : 'a list option Lwt.t
val return_true : bool option Lwt.t
val return_false : bool option Lwt.t
val fail : 'a option Lwt.t
val let* : 'a option Lwt.t -> ( 'a -> 'b option Lwt.t ) -> 'b option Lwt.t
val and* : 'a option Lwt.t -> 'b option Lwt.t -> ('a * 'b) option Lwt.t
val let+ : 'a option Lwt.t -> ( 'a -> 'b ) -> 'b option Lwt.t
val and+ : 'a option Lwt.t -> 'b option Lwt.t -> ('a * 'b) option Lwt.t
val let*! : 'a Lwt.t -> ( 'a -> 'b Lwt.t ) -> 'b Lwt.t
val let*? : 'a option -> ( 'a -> 'b option Lwt.t ) -> 'b option Lwt.t
val both : 'a option Lwt.t -> 'b option Lwt.t -> ('a * 'b) option Lwt.t