package accessor

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

Module Accessor.Of_monad2Source

See Of_monad.

Parameters

module M : sig ... end

Signature

Sourceval map : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> 'b, Base.unit -> 'at -> 'bt, [> Subtyping.many ]) General.t -> 'at -> f:('a -> ('b, 'e) M.t) -> ('bt, 'e) M.t
Sourceval mapi : ?how:[ `Parallel | `Sequential ] -> ('i -> 'a -> 'b, Base.unit -> 'at -> 'bt, [> Subtyping.many ]) General.t -> 'at -> f:('i Index.t -> 'a -> ('b, 'e) M.t) -> ('bt, 'e) M.t
Sourceval all : (Base.unit -> ('a, 'e) M.t -> 'a, Base.unit -> 'at -> 'bt, [> Subtyping.many ]) General.t -> 'at -> ('bt, 'e) M.t
Sourceval all_unit : (Base.unit -> (Base.unit, 'e) M.t -> _, Base.unit -> 'at -> _, [> Subtyping.many_getter ]) General.t -> 'at -> (Base.unit, 'e) M.t
Sourceval iter : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.many_getter ]) General.t -> 'at -> f:('a -> (Base.unit, 'e) M.t) -> (Base.unit, 'e) M.t
Sourceval iteri : ?how:[ `Parallel | `Sequential ] -> ('i -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.many_getter ]) General.t -> 'at -> f:('i Index.t -> 'a -> (Base.unit, 'e) M.t) -> (Base.unit, 'e) M.t
Sourceval 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, 'e) M.t) -> ('sum, 'e) M.t
Sourceval 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, 'e) M.t) -> ('sum, 'e) M.t
Sourceval count : ?how:[ `Parallel | `Sequential ] -> (Base.unit -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.many_getter ]) General.t -> 'at -> f:('a -> (Base.bool, 'e) M.t) -> (Base.int, 'e) M.t
Sourceval counti : ?how:[ `Parallel | `Sequential ] -> ('i -> 'a -> _, Base.unit -> 'at -> _, [> Subtyping.many_getter ]) General.t -> 'at -> f:('i Index.t -> 'a -> (Base.bool, 'e) M.t) -> (Base.int, 'e) M.t
Sourceval 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, 'e) M.t) -> ('b, 'e) M.t
Sourceval 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, 'e) M.t) -> ('b, 'e) M.t
Sourceval 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, 'e) M.t) -> ('b, 'e) M.t
Sourceval 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, 'e) M.t) -> ('b, 'e) M.t
OCaml

Innovation. Community. Security.