Up
Module
Generator
Signature
type
'a t
val
empty : 'a
t
val
create : (unit -> [
| `Done
| `Ok
of
'a
]
Async.Std.Deferred.t
) -> 'a
t
val
unfold : 'state -> ('state -> [
| `Done
| `Ok
of
'a * 'state
]
Async.Std.Deferred.t
) -> 'a
t
val
singleton : 'a -> 'a
t
val
of_list : 'a list -> 'a
t
val
find : 'a
t
-> f:('a -> bool) -> 'a option
Async.Std.Deferred.t
val
fold' : 'a
t
-> init:'b -> f:('b -> 'a -> 'b
Async.Std.Deferred.t
) -> 'b
Async.Std.Deferred.t
val
fold : 'a
t
-> init:'b -> f:('b -> 'a -> 'b) -> 'b
Async.Std.Deferred.t
val
iter' : 'a
t
-> f:('a -> unit
Async.Std.Deferred.t
) -> unit
Async.Std.Deferred.t
val
iter : 'a
t
-> f:('a -> unit) -> unit
Async.Std.Deferred.t
val
to_list : 'a
t
-> 'a list
Async.Std.Deferred.t
val
map' : 'a
t
-> f:('a -> 'b
Async.Std.Deferred.t
) -> 'b
t
val
map : 'a
t
-> f:('a -> 'b) -> 'b
t
val
filter_map : 'a
t
-> f:('a -> 'b option) -> 'b
t
val
filter_opt : 'a option
t
-> 'a
t
val
next : 'a
t
-> [
| `Done
| `Ok
of
'a
]
Async.Std.Deferred.t
val
to_stream : 'a
t
-> 'a
Async.Std.Stream.t
val
append : 'a
t
-> 'a
t
-> 'a
t
val
concat : 'a
t
t
-> 'a
t