Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type ('a, 'err) t = unit -> ('a, 'err) node Async_kernel.Deferred.t
val fold :
f:('a -> 'state -> 'state) ->
('a, 'err) t ->
'state ->
('state, 'err) Stdlib.result Async_kernel.Deferred.t
val fold_s :
f:
('a ->
'state ->
('state, [> `Congested of 'clog ] as 'b) Stdlib.result
Async_kernel.Deferred.t) ->
('a, 'clog) t ->
'state ->
('state, 'b) Stdlib.result Async_kernel.Deferred.t
val iter_s :
f:
('a ->
(unit, [> `Congested of 'clog ] as 'b) Stdlib.result
Async_kernel.Deferred.t) ->
('a, 'clog) t ->
(unit, 'b) Stdlib.result Async_kernel.Deferred.t
val to_rev_list :
('a, 'err) t ->
('a list, 'err) Stdlib.result Async_kernel.Deferred.t
val to_list :
('a, 'err) t ->
('a list, 'err) Stdlib.result Async_kernel.Deferred.t
val of_list : 'a list -> ('a, 'err) t