4
type 'a t = unit -> 'a node
5
and 'a node = 'a Seq.node =
10
type 'a t = unit -> 'a node
12
'a Stdcompat__init.seq_node =
17
type 'a t = unit -> 'a node
24
(** @since 4.07.0: val empty : 'a t *)
26
val return : 'a -> 'a t
27
(** @since 4.07.0: val return : 'a -> 'a t *)
29
val map : ('a -> 'b) -> 'a t -> 'b t
30
(** @since 4.07.0: val map : ('a -> 'b) -> 'a t -> 'b t *)
32
val filter : ('a -> bool) -> 'a t -> 'a t
33
(** @since 4.07.0: val filter : ('a -> bool) -> 'a t -> 'a t *)
35
val filter_map : ('a -> 'b option) -> 'a t -> 'b t
36
(** @since 4.07.0: val filter_map : ('a -> 'b option) -> 'a t -> 'b t *)
38
val flat_map : ('a -> 'b t) -> 'a t -> 'b t
39
(** @since 4.07.0: val flat_map : ('a -> 'b t) -> 'a t -> 'b t *)
41
val fold_left : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a
42
(** @since 4.07.0: val fold_left : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a *)
44
val iter : ('a -> unit) -> 'a t -> unit
45
(** @since 4.07.0: val iter : ('a -> unit) -> 'a t -> unit *)