package accessor_base

  1. Overview
  2. Docs
val map : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> 'b, Base.unit -> 'at -> 'bt, [> Accessor.Subtyping.many ]) Accessor.t -> 'at -> f:('a -> ('b, 'e) Base.Sequence.Generator.t) -> ('bt, 'e) Base.Sequence.Generator.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) Base.Sequence.Generator.t) -> ('bt, 'e) Base.Sequence.Generator.t
val all : (Base.unit -> ('a, 'e) Base.Sequence.Generator.t -> 'a, Base.unit -> 'at -> 'bt, [> Accessor.Subtyping.many ]) Accessor.t -> 'at -> ('bt, 'e) Base.Sequence.Generator.t
val iter : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ]) Accessor.t -> 'at -> f:('a -> (Base.unit, 'e) Base.Sequence.Generator.t) -> (Base.unit, 'e) Base.Sequence.Generator.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) Base.Sequence.Generator.t) -> (Base.unit, 'e) Base.Sequence.Generator.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) Base.Sequence.Generator.t) -> ('sum, 'e) Base.Sequence.Generator.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) Base.Sequence.Generator.t) -> ('sum, 'e) Base.Sequence.Generator.t
val count : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ]) Accessor.t -> 'at -> f:('a -> (Base.bool, 'e) Base.Sequence.Generator.t) -> (Base.int, 'e) Base.Sequence.Generator.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) Base.Sequence.Generator.t) -> (Base.int, 'e) Base.Sequence.Generator.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) Base.Sequence.Generator.t) -> ('b, 'e) Base.Sequence.Generator.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) Base.Sequence.Generator.t) -> ('b, 'e) Base.Sequence.Generator.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) Base.Sequence.Generator.t) -> ('b, 'e) Base.Sequence.Generator.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) Base.Sequence.Generator.t) -> ('b, 'e) Base.Sequence.Generator.t
OCaml

Innovation. Community. Security.