accessor

A library that makes it nicer to work with nested functional data structures
IN THIS PACKAGE
Module type Accessor . Monad_without_return . S
type 'a t
val map : ?how:[ `Parallel | `Sequential ] -> ( Base.unit -> 'a -> 'b, Base.unit -> 'at -> 'bt, [> Subtyping.nonempty ] ) General.t -> 'at -> f:( 'a -> 'b t ) -> 'bt t
val mapi : ?how:[ `Parallel | `Sequential ] -> ( 'i -> 'a -> 'b, Base.unit -> 'at -> 'bt, [> Subtyping.nonempty ] ) General.t -> 'at -> f:( 'i Index.t -> 'a -> 'b t ) -> 'bt t
val iter : ?how:[ `Parallel | `Sequential ] -> ( Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.nonempty_getter ] ) General.t -> 'at -> f:( 'a -> Base.unit t ) -> Base.unit t
val iteri : ?how:[ `Parallel | `Sequential ] -> ( 'i -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.nonempty_getter ] ) General.t -> 'at -> f:( 'i Index.t -> 'a -> Base.unit t ) -> Base.unit t
val sum : ?how:[ `Parallel | `Sequential ] -> (module Base.Container.Summable with type t = 'sum) -> ( Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.nonempty_getter ] ) General.t -> 'at -> f:( 'a -> 'sum t ) -> 'sum t
val sumi : ?how:[ `Parallel | `Sequential ] -> (module Base.Container.Summable with type t = 'sum) -> ( 'i -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.nonempty_getter ] ) General.t -> 'at -> f:( 'i Index.t -> 'a -> 'sum t ) -> 'sum t
val count : ?how:[ `Parallel | `Sequential ] -> ( Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.nonempty_getter ] ) General.t -> 'at -> f:( 'a -> Base.bool t ) -> Base.int t
val counti : ?how:[ `Parallel | `Sequential ] -> ( 'i -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.nonempty_getter ] ) General.t -> 'at -> f:( 'i Index.t -> 'a -> Base.bool t ) -> Base.int t
val all : ( Base.unit -> 'a t -> 'a, Base.unit -> 'at -> 'bt, [> Subtyping.nonempty ] ) General.t -> 'at -> 'bt t
val all_unit : ( Base.unit -> Base.unit t -> _, Base.unit -> 'at -> _, [> Subtyping.nonempty_getter ] ) General.t -> 'at -> Base.unit t
val map_reduce_nonempty : ?how:[ `Parallel | `Sequential ] -> ( Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.nonempty_getter ] ) General.t -> 'at -> combine:( 'b -> 'b -> 'b ) -> f:( 'a -> 'b t ) -> 'b t
val map_reduce_nonemptyi : ?how:[ `Parallel | `Sequential ] -> ( 'i -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.nonempty_getter ] ) General.t -> 'at -> combine:( 'b -> 'b -> 'b ) -> f:( 'i Index.t -> 'a -> 'b t ) -> 'b t