package accessor_async

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val map : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> 'b, Base.unit -> 'at -> 'bt, [> Accessor.Subtyping.many ]) Accessor.t -> 'at -> f:('a -> ('b, 'e) Core_kernel.Result.t Async_kernel.Deferred.t) -> ('bt, 'e) Core_kernel.Result.t Async_kernel.Deferred.t
val mapi : ?how:[ `Parallel | `Sequential ] -> ('i -> 'a -> 'b, Base.unit -> 'at -> 'bt, [> Accessor.Subtyping.many ]) Accessor.t -> 'at -> f: ('i Accessor.Index.t -> 'a -> ('b, 'e) Core_kernel.Result.t Async_kernel.Deferred.t) -> ('bt, 'e) Core_kernel.Result.t Async_kernel.Deferred.t
val iter : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ]) Accessor.t -> 'at -> f:('a -> (Base.unit, 'e) Core_kernel.Result.t Async_kernel.Deferred.t) -> (Base.unit, 'e) Core_kernel.Result.t Async_kernel.Deferred.t
val iteri : ?how:[ `Parallel | `Sequential ] -> ('i -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ]) Accessor.t -> 'at -> f: ('i Accessor.Index.t -> 'a -> (Base.unit, 'e) Core_kernel.Result.t Async_kernel.Deferred.t) -> (Base.unit, 'e) Core_kernel.Result.t 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.t -> 'at -> f:('a -> ('sum, 'e) Core_kernel.Result.t Async_kernel.Deferred.t) -> ('sum, 'e) Core_kernel.Result.t 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.t -> 'at -> f: ('i Accessor.Index.t -> 'a -> ('sum, 'e) Core_kernel.Result.t Async_kernel.Deferred.t) -> ('sum, 'e) Core_kernel.Result.t Async_kernel.Deferred.t
val count : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ]) Accessor.t -> 'at -> f:('a -> (Base.bool, 'e) Core_kernel.Result.t Async_kernel.Deferred.t) -> (Base.int, 'e) Core_kernel.Result.t Async_kernel.Deferred.t
val counti : ?how:[ `Parallel | `Sequential ] -> ('i -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ]) Accessor.t -> 'at -> f: ('i Accessor.Index.t -> 'a -> (Base.bool, 'e) Core_kernel.Result.t Async_kernel.Deferred.t) -> (Base.int, 'e) Core_kernel.Result.t Async_kernel.Deferred.t
val map_reduce : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ]) Accessor.t -> 'at -> empty:'b -> combine:('b -> 'b -> 'b) -> f:('a -> ('b, 'e) Core_kernel.Result.t Async_kernel.Deferred.t) -> ('b, 'e) Core_kernel.Result.t Async_kernel.Deferred.t
val map_reducei : ?how:[ `Parallel | `Sequential ] -> ('i -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ]) Accessor.t -> 'at -> empty:'b -> combine:('b -> 'b -> 'b) -> f: ('i Accessor.Index.t -> 'a -> ('b, 'e) Core_kernel.Result.t Async_kernel.Deferred.t) -> ('b, 'e) Core_kernel.Result.t Async_kernel.Deferred.t
val map_reduce_nonempty : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.nonempty_getter ]) Accessor.t -> 'at -> combine:('b -> 'b -> 'b) -> f:('a -> ('b, 'e) Core_kernel.Result.t Async_kernel.Deferred.t) -> ('b, 'e) Core_kernel.Result.t Async_kernel.Deferred.t
val map_reduce_nonemptyi : ?how:[ `Parallel | `Sequential ] -> ('i -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.nonempty_getter ]) Accessor.t -> 'at -> combine:('b -> 'b -> 'b) -> f: ('i Accessor.Index.t -> 'a -> ('b, 'e) Core_kernel.Result.t Async_kernel.Deferred.t) -> ('b, 'e) Core_kernel.Result.t Async_kernel.Deferred.t
OCaml

Innovation. Community. Security.