package accessor_async

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Accessor_core.Monad.S with type 'a t := 'a Async_kernel.Deferred.t
val map : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> 'b, Base.unit -> 'at -> 'bt, [> Accessor.Subtyping.many ]) Accessor.General.t -> 'at -> f:('a -> 'b Async_kernel.Deferred.t) -> 'bt Async_kernel.Deferred.t
val mapi : ?how:[ `Parallel | `Sequential ] -> ('i -> 'a -> 'b, Base.unit -> 'at -> 'bt, [> Accessor.Subtyping.many ]) Accessor.General.t -> 'at -> f:('i Accessor.Index.t -> 'a -> 'b Async_kernel.Deferred.t) -> 'bt Async_kernel.Deferred.t
val all : (Base.unit -> 'a Async_kernel.Deferred.t -> 'a, Base.unit -> 'at -> 'bt, [> Accessor.Subtyping.many ]) Accessor.General.t -> 'at -> 'bt Async_kernel.Deferred.t
val all_unit : (Base.unit -> Base.unit Async_kernel.Deferred.t -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ]) Accessor.General.t -> 'at -> Base.unit Async_kernel.Deferred.t
val iter : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ]) Accessor.General.t -> 'at -> f:('a -> Base.unit Async_kernel.Deferred.t) -> Base.unit Async_kernel.Deferred.t
val iteri : ?how:[ `Parallel | `Sequential ] -> ('i -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ]) Accessor.General.t -> 'at -> f:('i Accessor.Index.t -> 'a -> Base.unit Async_kernel.Deferred.t) -> Base.unit Async_kernel.Deferred.t
val sum : ?how:[ `Parallel | `Sequential ] -> (module Base.Container.Summable with type t = 'sum) -> (Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ]) Accessor.General.t -> 'at -> f:('a -> 'sum Async_kernel.Deferred.t) -> 'sum Async_kernel.Deferred.t
val sumi : ?how:[ `Parallel | `Sequential ] -> (module Base.Container.Summable with type t = 'sum) -> ('i -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ]) Accessor.General.t -> 'at -> f:('i Accessor.Index.t -> 'a -> 'sum Async_kernel.Deferred.t) -> 'sum Async_kernel.Deferred.t
val count : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ]) Accessor.General.t -> 'at -> f:('a -> Base.bool Async_kernel.Deferred.t) -> Base.int Async_kernel.Deferred.t
val counti : ?how:[ `Parallel | `Sequential ] -> ('i -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ]) Accessor.General.t -> 'at -> f:('i Accessor.Index.t -> 'a -> Base.bool Async_kernel.Deferred.t) -> Base.int Async_kernel.Deferred.t
val map_reduce : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ]) Accessor.General.t -> 'at -> empty:'b -> combine:('b -> 'b -> 'b) -> f:('a -> 'b Async_kernel.Deferred.t) -> 'b Async_kernel.Deferred.t
val map_reducei : ?how:[ `Parallel | `Sequential ] -> ('i -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ]) Accessor.General.t -> 'at -> empty:'b -> combine:('b -> 'b -> 'b) -> f:('i Accessor.Index.t -> 'a -> 'b Async_kernel.Deferred.t) -> 'b Async_kernel.Deferred.t
val map_reduce_nonempty : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.nonempty_getter ]) Accessor.General.t -> 'at -> combine:('b -> 'b -> 'b) -> f:('a -> 'b Async_kernel.Deferred.t) -> 'b Async_kernel.Deferred.t
val map_reduce_nonemptyi : ?how:[ `Parallel | `Sequential ] -> ('i -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.nonempty_getter ]) Accessor.General.t -> 'at -> combine:('b -> 'b -> 'b) -> f:('i Accessor.Index.t -> 'a -> 'b Async_kernel.Deferred.t) -> 'b Async_kernel.Deferred.t
module Option : Accessor_core.Monad.S with type 'a t := 'a option Async_kernel.Deferred.t
module Result : Accessor_core.Monad.S2 with type ('a, 'e) t := ('a, 'e) Core.Result.t Async_kernel.Deferred.t
OCaml

Innovation. Community. Security.