package tezos-error-monad

  1. Overview
  2. Docs
val iter : ('a -> unit Lwt.t) -> ('a, 'e) t -> (unit, 'e) Stdlib.result Lwt.t
val fold_left : ('a -> 'b -> 'a Lwt.t) -> 'a -> ('b, 'e) t -> ('a, 'e) Stdlib.result Lwt.t
val iteri : (int -> 'a -> unit Lwt.t) -> ('a, 'e) t -> (unit, 'e) Stdlib.result Lwt.t
val fold_lefti : ('b -> int -> 'a -> 'b Lwt.t) -> 'b -> ('a, 'e) t -> ('b, 'e) Stdlib.result Lwt.t
val for_all : ('a -> bool Lwt.t) -> ('a, 'e) t -> (bool, 'e) Stdlib.result Lwt.t
val exists : ('a -> bool Lwt.t) -> ('a, 'e) t -> (bool, 'e) Stdlib.result Lwt.t
val find : ('a -> bool Lwt.t) -> ('a, 'e) t -> ('a option, 'e) Stdlib.result Lwt.t
val find_map : ('a -> 'b option Lwt.t) -> ('a, 'e) t -> ('b option, 'e) Stdlib.result Lwt.t
val iter2 : ('a -> 'b -> unit Lwt.t) -> ('a, 'e) t -> ('b, 'e) t -> (unit, 'e) Stdlib.result Lwt.t
val fold_left2 : ('a -> 'b -> 'c -> 'a Lwt.t) -> 'a -> ('b, 'e) t -> ('c, 'e) t -> ('a, 'e) Stdlib.result Lwt.t
val for_all2 : ('a -> 'b -> bool Lwt.t) -> ('a, 'e) t -> ('b, 'e) t -> (bool, 'e) Stdlib.result Lwt.t
val exists2 : ('a -> 'b -> bool Lwt.t) -> ('a, 'e) t -> ('b, 'e) t -> (bool, 'e) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.