mirror of
https://github.com/c-cube/iter.git
synced 2025-12-06 11:15:32 -05:00
forgot value in labels
This commit is contained in:
parent
173da38366
commit
a3b3426365
1 changed files with 5 additions and 0 deletions
|
|
@ -620,6 +620,11 @@ type 'a gen = unit -> 'a option
|
||||||
val of_gen : 'a gen -> 'a t
|
val of_gen : 'a gen -> 'a t
|
||||||
(** Traverse eagerly the generator and build an iterator from it *)
|
(** Traverse eagerly the generator and build an iterator from it *)
|
||||||
|
|
||||||
|
val of_gen_once : 'a gen -> 'a t
|
||||||
|
(** One shot iterator using this generator.
|
||||||
|
It must not be traversed twice.
|
||||||
|
@since NEXT_RELEASE *)
|
||||||
|
|
||||||
val to_gen : 'a t -> 'a gen
|
val to_gen : 'a t -> 'a gen
|
||||||
(** Make the iterator persistent (O(n)) and then iterate on it. Eager. *)
|
(** Make the iterator persistent (O(n)) and then iterate on it. Eager. *)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue