mirror of
https://github.com/c-cube/iter.git
synced 2025-12-05 19:00:31 -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
|
||||
(** 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
|
||||
(** Make the iterator persistent (O(n)) and then iterate on it. Eager. *)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue