accessor_core

Accessors for Core types, for use with the Accessor library
IN THIS PACKAGE
val map : ( Base.unit -> 'a -> 'b, Base.unit -> 'at -> 'bt, [> Accessor.Subtyping.many ] ) Accessor.General.t -> 'at -> f:( 'a -> 'b Core.Command.Param.t ) -> 'bt Core.Command.Param.t
val mapi : ( 'i -> 'a -> 'b, Base.unit -> 'at -> 'bt, [> Accessor.Subtyping.many ] ) Accessor.General.t -> 'at -> f:( 'i Accessor.Index.t -> 'a -> 'b Core.Command.Param.t ) -> 'bt Core.Command.Param.t
val all : ( Base.unit -> 'a Core.Command.Param.t -> 'a, Base.unit -> 'at -> 'bt, [> Accessor.Subtyping.many ] ) Accessor.General.t -> 'at -> 'bt Core.Command.Param.t
val sum : (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 Core.Command.Param.t ) -> 'sum Core.Command.Param.t
val sumi : (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 Core.Command.Param.t ) -> 'sum Core.Command.Param.t
val counti : ( 'i -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ] ) Accessor.General.t -> 'at -> f:( 'i Accessor.Index.t -> 'a -> Base.bool Core.Command.Param.t ) -> Base.int Core.Command.Param.t
val map_reduce : ( Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.many_getter ] ) Accessor.General.t -> 'at -> empty:'b -> combine:( 'b -> 'b -> 'b ) -> f:( 'a -> 'b Core.Command.Param.t ) -> 'b Core.Command.Param.t
val map_reducei : ( '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 Core.Command.Param.t ) -> 'b Core.Command.Param.t
val map_reduce_nonempty : ( Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.nonempty_getter ] ) Accessor.General.t -> 'at -> combine:( 'b -> 'b -> 'b ) -> f:( 'a -> 'b Core.Command.Param.t ) -> 'b Core.Command.Param.t
val map_reduce_nonemptyi : ( 'i -> 'a -> _, Base.unit -> 'at -> _, [> Accessor.Subtyping.nonempty_getter ] ) Accessor.General.t -> 'at -> combine:( 'b -> 'b -> 'b ) -> f:( 'i Accessor.Index.t -> 'a -> 'b Core.Command.Param.t ) -> 'b Core.Command.Param.t