package accessor

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

See Of_monad.

Parameters

module M : sig ... end

Signature

val map : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> 'b, Base.unit -> 'at -> 'bt, [> Subtyping.many ]) General.t -> 'at -> f:('a -> ('b, 'd, 'e) M.t) -> ('bt, 'd, 'e) M.t
val mapi : ?how:[ `Parallel | `Sequential ] -> ('i -> 'a -> 'b, Base.unit -> 'at -> 'bt, [> Subtyping.many ]) General.t -> 'at -> f:('i Index.t -> 'a -> ('b, 'd, 'e) M.t) -> ('bt, 'd, 'e) M.t
val all : (Base.unit -> ('a, 'd, 'e) M.t -> 'a, Base.unit -> 'at -> 'bt, [> Subtyping.many ]) General.t -> 'at -> ('bt, 'd, 'e) M.t
val all_unit : (Base.unit -> (Base.unit, 'd, 'e) M.t -> _, Base.unit -> 'at -> _, [> Subtyping.many_getter ]) General.t -> 'at -> (Base.unit, 'd, 'e) M.t
val iter : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.many_getter ]) General.t -> 'at -> f:('a -> (Base.unit, 'd, 'e) M.t) -> (Base.unit, 'd, 'e) M.t
val iteri : ?how:[ `Parallel | `Sequential ] -> ('i -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.many_getter ]) General.t -> 'at -> f:('i Index.t -> 'a -> (Base.unit, 'd, 'e) M.t) -> (Base.unit, 'd, 'e) M.t
val sum : ?how:[ `Parallel | `Sequential ] -> (module Base.Container.Summable with type t = 'sum) -> (Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.many_getter ]) General.t -> 'at -> f:('a -> ('sum, 'd, 'e) M.t) -> ('sum, 'd, 'e) M.t
val sumi : ?how:[ `Parallel | `Sequential ] -> (module Base.Container.Summable with type t = 'sum) -> ('i -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.many_getter ]) General.t -> 'at -> f:('i Index.t -> 'a -> ('sum, 'd, 'e) M.t) -> ('sum, 'd, 'e) M.t
val count : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.many_getter ]) General.t -> 'at -> f:('a -> (Base.bool, 'd, 'e) M.t) -> (Base.int, 'd, 'e) M.t
val counti : ?how:[ `Parallel | `Sequential ] -> ('i -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.many_getter ]) General.t -> 'at -> f:('i Index.t -> 'a -> (Base.bool, 'd, 'e) M.t) -> (Base.int, 'd, 'e) M.t
val map_reduce : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.many_getter ]) General.t -> 'at -> empty:'b -> combine:('b -> 'b -> 'b) -> f:('a -> ('b, 'd, 'e) M.t) -> ('b, 'd, 'e) M.t
val map_reducei : ?how:[ `Parallel | `Sequential ] -> ('i -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.many_getter ]) General.t -> 'at -> empty:'b -> combine:('b -> 'b -> 'b) -> f:('i Index.t -> 'a -> ('b, 'd, 'e) M.t) -> ('b, 'd, 'e) M.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, 'd, 'e) M.t) -> ('b, 'd, 'e) M.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, 'd, 'e) M.t) -> ('b, 'd, 'e) M.t
OCaml

Innovation. Community. Security.