package async_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t
val foldi : 'a t -> init:'b -> f:(int -> 'b -> 'a -> 'b Async_kernel__.Types.Deferred.t) -> 'b Async_kernel__.Types.Deferred.t
val fold : 'a t -> init:'b -> f:('b -> 'a -> 'b Async_kernel__.Types.Deferred.t) -> 'b Async_kernel__.Types.Deferred.t
val find : 'a t -> f:('a -> bool Async_kernel__.Types.Deferred.t) -> 'a option Async_kernel__.Types.Deferred.t
val findi : 'a t -> f:(int -> 'a -> bool Async_kernel__.Types.Deferred.t) -> (int * 'a) option Async_kernel__.Types.Deferred.t
val find_map : 'a t -> f:('a -> 'b option Async_kernel__.Types.Deferred.t) -> 'b option Async_kernel__.Types.Deferred.t
val find_mapi : 'a t -> f:(int -> 'a -> 'b option Async_kernel__.Types.Deferred.t) -> 'b option Async_kernel__.Types.Deferred.t
val exists : 'a t -> f:('a -> bool Async_kernel__.Types.Deferred.t) -> bool Async_kernel__.Types.Deferred.t
val existsi : 'a t -> f:(int -> 'a -> bool Async_kernel__.Types.Deferred.t) -> bool Async_kernel__.Types.Deferred.t
val for_all : 'a t -> f:('a -> bool Async_kernel__.Types.Deferred.t) -> bool Async_kernel__.Types.Deferred.t
val for_alli : 'a t -> f:(int -> 'a -> bool Async_kernel__.Types.Deferred.t) -> bool Async_kernel__.Types.Deferred.t
val all : 'a Async_kernel__.Types.Deferred.t t -> 'a t Async_kernel__.Types.Deferred.t
val all_unit : unit Async_kernel__.Types.Deferred.t t -> unit Async_kernel__.Types.Deferred.t

Deferred iterators

In the following, the default how is `Sequential

val init : ?how:Monad_sequence.how -> int -> f:(int -> 'a Async_kernel__.Types.Deferred.t) -> 'a t Async_kernel__.Types.Deferred.t
val iter : ?how:Monad_sequence.how -> 'a t -> f:('a -> unit Async_kernel__.Types.Deferred.t) -> unit Async_kernel__.Types.Deferred.t
val iteri : ?how:Monad_sequence.how -> 'a t -> f:(int -> 'a -> unit Async_kernel__.Types.Deferred.t) -> unit Async_kernel__.Types.Deferred.t
val map : ?how:Monad_sequence.how -> 'a t -> f:('a -> 'b Async_kernel__.Types.Deferred.t) -> 'b t Async_kernel__.Types.Deferred.t
val mapi : ?how:Monad_sequence.how -> 'a t -> f:(int -> 'a -> 'b Async_kernel__.Types.Deferred.t) -> 'b t Async_kernel__.Types.Deferred.t
val filter : ?how:Monad_sequence.how -> 'a t -> f:('a -> bool Async_kernel__.Types.Deferred.t) -> 'a t Async_kernel__.Types.Deferred.t
val filteri : ?how:Monad_sequence.how -> 'a t -> f:(int -> 'a -> bool Async_kernel__.Types.Deferred.t) -> 'a t Async_kernel__.Types.Deferred.t
val filter_map : ?how:Monad_sequence.how -> 'a t -> f:('a -> 'b option Async_kernel__.Types.Deferred.t) -> 'b t Async_kernel__.Types.Deferred.t
val filter_mapi : ?how:Monad_sequence.how -> 'a t -> f:(int -> 'a -> 'b option Async_kernel__.Types.Deferred.t) -> 'b t Async_kernel__.Types.Deferred.t
val concat_map : ?how:Monad_sequence.how -> 'a t -> f:('a -> 'b t Async_kernel__.Types.Deferred.t) -> 'b t Async_kernel__.Types.Deferred.t
val concat_mapi : ?how:Monad_sequence.how -> 'a t -> f:(int -> 'a -> 'b t Async_kernel__.Types.Deferred.t) -> 'b t Async_kernel__.Types.Deferred.t
OCaml

Innovation. Community. Security.