Module Accessor.Of_applicative2

See Of_applicative.

Parameters

Signature

type ('inner, 'outer, 'kind) accessor
type 'a optional_args
type ('a, 'e) t
val map : ((Base.unit -> 'a -> 'bBase.unit -> 'at -> 'bt[> Subtyping.many ]) accessor -> 'at -> f:('a -> ('b'e) t) -> ('bt'e) t) optional_args
val mapi : (('i -> 'a -> 'bBase.unit -> 'at -> 'bt[> Subtyping.many ]) accessor -> 'at -> f:('i Index.t -> 'a -> ('b'e) t) -> ('bt'e) t) optional_args
val all : (Base.unit -> ('a'e) t -> 'aBase.unit -> 'at -> 'bt[> Subtyping.many ]) accessor -> 'at -> ('bt'e) t
val all_unit : (Base.unit -> (Base.unit'e) t -> _Base.unit -> 'at -> _[> Subtyping.many_getter ]) accessor -> 'at -> (Base.unit'e) t
val iter : ((Base.unit -> 'a -> _Base.unit -> 'at -> _[> Subtyping.many_getter ]) accessor -> 'at -> f:('a -> (Base.unit'e) t) -> (Base.unit'e) t) optional_args
val iteri : (('i -> 'a -> _Base.unit -> 'at -> _[> Subtyping.many_getter ]) accessor -> 'at -> f:('i Index.t -> 'a -> (Base.unit'e) t) -> (Base.unit'e) t) optional_args
val sum : ((module Base.Container.Summable with type t = 'sum) -> (Base.unit -> 'a -> _Base.unit -> 'at -> _[> Subtyping.many_getter ]) accessor -> 'at -> f:('a -> ('sum'e) t) -> ('sum'e) t) optional_args
val sumi : ((module Base.Container.Summable with type t = 'sum) -> ('i -> 'a -> _Base.unit -> 'at -> _[> Subtyping.many_getter ]) accessor -> 'at -> f:('i Index.t -> 'a -> ('sum'e) t) -> ('sum'e) t) optional_args
val count : ((Base.unit -> 'a -> _Base.unit -> 'at -> _[> Subtyping.many_getter ]) accessor -> 'at -> f:('a -> (Base.bool'e) t) -> (Base.int'e) t) optional_args
val counti : (('i -> 'a -> _Base.unit -> 'at -> _[> Subtyping.many_getter ]) accessor -> 'at -> f:('i Index.t -> 'a -> (Base.bool'e) t) -> (Base.int'e) t) optional_args
val map_reduce : ((Base.unit -> 'a -> _Base.unit -> 'at -> _[> Subtyping.many_getter ]) accessor -> 'at -> empty:'b -> combine:('b -> 'b -> 'b) -> f:('a -> ('b'e) t) -> ('b'e) t) optional_args
val map_reducei : (('i -> 'a -> _Base.unit -> 'at -> _[> Subtyping.many_getter ]) accessor -> 'at -> empty:'b -> combine:('b -> 'b -> 'b) -> f:('i Index.t -> 'a -> ('b'e) t) -> ('b'e) t) optional_args
val map_reduce_nonempty : ((Base.unit -> 'a -> _Base.unit -> 'at -> _[> Subtyping.nonempty_getter ]) accessor -> 'at -> combine:('b -> 'b -> 'b) -> f:('a -> ('b'e) t) -> ('b'e) t) optional_args
val map_reduce_nonemptyi : (('i -> 'a -> _Base.unit -> 'at -> _[> Subtyping.nonempty_getter ]) accessor -> 'at -> combine:('b -> 'b -> 'b) -> f:('i Index.t -> 'a -> ('b'e) t) -> ('b'e) t) optional_args