package octez-libs

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

Innovation. Community. Security.