Traced.Seq_esThis is similar to Seq.S.t but the suspended node is a promised result.
Similarly to Seq_e, sequences of this module can be interrupted by an error. In this case, traversal has fully applied to the successful prefix before the returned promise evaluates to Error _.
and ('a, 'e) t = ('a, 'e) Bare_structs.Seq_es.tinclude Seqes.Sigs.SEQMON2ALL
with type ('a, 'e) mon := ('a, 'e) Stdlib.result Lwt.t
with type ('a, 'e) t := ('a, 'e) tval iter : ('a -> unit) -> ('a, 'e) t -> (unit, 'e0) Stdlib.result Lwt.tval fold_left :
('a -> 'b -> 'a) ->
'a ->
('b, 'e) t ->
('a0, 'e0) Stdlib.result Lwt.tval iteri :
(int -> 'a -> unit) ->
('a, 'e) t ->
(unit, 'e0) Stdlib.result Lwt.tval fold_lefti :
('b -> int -> 'a -> 'b) ->
'b ->
('a, 'e) t ->
('b0, 'e0) Stdlib.result Lwt.tval for_all : ('a -> bool) -> ('a, 'e) t -> (bool, 'e0) Stdlib.result Lwt.tval exists : ('a -> bool) -> ('a, 'e) t -> (bool, 'e0) Stdlib.result Lwt.tval find : ('a -> bool) -> ('a, 'e) t -> ('a option, 'e0) Stdlib.result Lwt.tval find_map :
('a -> 'b option) ->
('a, 'e) t ->
('b option, 'e0) Stdlib.result Lwt.tval init : int -> (int -> 'a) -> ('a, 'e) tval unfold : ('b -> ('a * 'b) option) -> 'b -> ('a, 'e) tval forever : (unit -> 'a) -> ('a, 'e) tval iterate : ('a -> 'a) -> 'a -> ('a, 'e) tval is_empty : ('a, 'e) t -> (bool, 'e0) Stdlib.result Lwt.tval length : ('a, 'e) t -> (int, 'e0) Stdlib.result Lwt.tval empty : ('a, 'e) tval return : 'a -> ('a, 'e) tval repeat : 'a -> ('a, 'e) tval of_dispenser : (unit -> ('a option, 'e) Stdlib.result Lwt.t) -> ('a, 'e0) tval to_dispenser : ('a, 'e) t -> unit -> ('a option, 'e0) Stdlib.result Lwt.tval ints : int -> (int, 'e) tval return_e : ('a, 'e) Stdlib.result -> ('a, 'e) tval return_s : 'a Lwt.t -> ('a, 'e) tval return_es : ('a, 'e) Stdlib.result Lwt.t -> ('a, 'e) tval interrupted : 'e -> ('a, 'e) tval interrupted_s : 'e Lwt.t -> ('a, 'e) tval of_seq : 'a Stdlib.Seq.t -> ('a, 'e) tval of_seq_s : 'a Lwt.t Stdlib.Seq.t -> ('a, 'e) tval of_seq_e : ('a, 'e) Stdlib.result Stdlib.Seq.t -> ('a, 'e) tval of_seq_es : ('a, 'e) Stdlib.result Lwt.t Stdlib.Seq.t -> ('a, 'e) t