package async_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val foldi : 'a Core.Sequence.t -> init:'b -> f:(int -> 'b -> 'a -> 'b t) -> 'b t
val fold : 'a Core.Sequence.t -> init:'b -> f:('b -> 'a -> 'b t) -> 'b t
val find : 'a Core.Sequence.t -> f:('a -> bool t) -> 'a option t
val findi : 'a Core.Sequence.t -> f:(int -> 'a -> bool t) -> (int * 'a) option t
val find_map : 'a Core.Sequence.t -> f:('a -> 'b option t) -> 'b option t
val find_mapi : 'a Core.Sequence.t -> f:(int -> 'a -> 'b option t) -> 'b option t
val exists : 'a Core.Sequence.t -> f:('a -> bool t) -> bool t
val existsi : 'a Core.Sequence.t -> f:(int -> 'a -> bool t) -> bool t
val for_all : 'a Core.Sequence.t -> f:('a -> bool t) -> bool t
val for_alli : 'a Core.Sequence.t -> f:(int -> 'a -> bool t) -> bool t
val all : 'a t Core.Sequence.t -> 'a Core.Sequence.t t
val all_unit : unit t Core.Sequence.t -> unit t

Deferred iterators

val init : how:Monad_sequence.how -> int -> f:(int -> 'a t) -> 'a Core.Sequence.t t
val iter : how:Monad_sequence.how -> 'a Core.Sequence.t -> f:('a -> unit t) -> unit t
val iteri : how:Monad_sequence.how -> 'a Core.Sequence.t -> f:(int -> 'a -> unit t) -> unit t
val map : how:Monad_sequence.how -> 'a Core.Sequence.t -> f:('a -> 'b t) -> 'b Core.Sequence.t t
val mapi : how:Monad_sequence.how -> 'a Core.Sequence.t -> f:(int -> 'a -> 'b t) -> 'b Core.Sequence.t t
val filter : how:Monad_sequence.how -> 'a Core.Sequence.t -> f:('a -> bool t) -> 'a Core.Sequence.t t
val filteri : how:Monad_sequence.how -> 'a Core.Sequence.t -> f:(int -> 'a -> bool t) -> 'a Core.Sequence.t t
val filter_map : how:Monad_sequence.how -> 'a Core.Sequence.t -> f:('a -> 'b option t) -> 'b Core.Sequence.t t
val filter_mapi : how:Monad_sequence.how -> 'a Core.Sequence.t -> f:(int -> 'a -> 'b option t) -> 'b Core.Sequence.t t
val concat_map : how:Monad_sequence.how -> 'a Core.Sequence.t -> f:('a -> 'b Core.Sequence.t t) -> 'b Core.Sequence.t t
val concat_mapi : how:Monad_sequence.how -> 'a Core.Sequence.t -> f:(int -> 'a -> 'b Core.Sequence.t t) -> 'b Core.Sequence.t t
val fold_mapi : ?how:Monad_sequence.how -> 'a Core.Sequence.t -> init:'acc -> mapi_f:(int -> 'a -> 'b t) -> fold_f:('acc -> 'b -> 'acc) -> 'acc t
val count : ?how:Monad_sequence.how -> 'a Core.Sequence.t -> f:('a -> bool t) -> int t
val sum : (module Base.Container.Summable with type t = 'sum) -> ?how:Monad_sequence.how -> 'a Core.Sequence.t -> f:('a -> 'sum t) -> 'sum t
OCaml

Innovation. Community. Security.