package octez-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of Tezos_error_monad.TzLwtreslib.Monad.Lwt_result_syntax
val return : 'a -> ('a, 'e) result Lwt.t
val return_unit : (unit, 'e) result Lwt.t
val return_none : ('a option, 'e) result Lwt.t
val return_some : 'a -> ('a option, 'e) result Lwt.t
val return_nil : ('a list, 'e) result Lwt.t
val return_true : (bool, 'e) result Lwt.t
val return_false : (bool, 'e) result Lwt.t
val fail : 'e -> ('a, 'e) result Lwt.t
val let* : ('a, 'e) result Lwt.t -> ('a -> ('b, 'e) result Lwt.t) -> ('b, 'e) result Lwt.t
val let+ : ('a, 'e) result Lwt.t -> ('a -> 'b) -> ('b, 'e) result Lwt.t
val lwt_map_error : ('e -> 'f) -> ('a, 'e) result Lwt.t -> ('a, 'f) result Lwt.t
val let*! : 'a Lwt.t -> ('a -> 'b Lwt.t) -> 'b Lwt.t
val let*? : ('a, 'e) result -> ('a -> ('b, 'e) result Lwt.t) -> ('b, 'e) result Lwt.t
val join : (unit, 'e) result Lwt.t list -> (unit, 'e list) result Lwt.t
val all : ('a, 'e) result Lwt.t list -> ('a list, 'e list) result Lwt.t
val both : ('a, 'e) result Lwt.t -> ('b, 'e) result Lwt.t -> ('a * 'b, 'e list) result Lwt.t
val tzfail : 'error -> ('a, 'error TzTrace.trace) result Lwt.t
val and* : ('a, 'error TzTrace.trace) result Lwt.t -> ('b, 'error TzTrace.trace) result Lwt.t -> ('a * 'b, 'error TzTrace.trace) result Lwt.t
val and+ : ('a, 'error TzTrace.trace) result Lwt.t -> ('b, 'error TzTrace.trace) result Lwt.t -> ('a * 'b, 'error TzTrace.trace) result Lwt.t
val tzjoin : (unit, 'error TzTrace.trace) result Lwt.t list -> (unit, 'error TzTrace.trace) result Lwt.t
val tzall : ('a, 'error TzTrace.trace) result Lwt.t list -> ('a list, 'error TzTrace.trace) result Lwt.t
val tzboth : ('a, 'error TzTrace.trace) result Lwt.t -> ('b, 'error TzTrace.trace) result Lwt.t -> ('a * 'b, 'error TzTrace.trace) result Lwt.t
OCaml

Innovation. Community. Security.