accessor_core

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