package rhythm

  1. Overview
  2. Docs
type 'el tSequence
val init : int -> (int -> 'el) -> 'el tSequence
val toOCamlList : 'el tSequence -> 'el OCamlListCore.t
val fromOCamlList : 'el OCamlListCore.t -> 'el tSequence
val toOCamlArray : 'el tSequence -> 'el OCamlArrayCore.t
val fromOCamlArray : 'el OCamlArrayCore.t -> 'el tSequence
val toMutableArrayList : 'el tSequence -> 'el MutableArrayListCore.t
val fromMutableArrayList : 'el MutableArrayListCore.t -> 'el tSequence
val toDeque : 'el tSequence -> 'el DequeCore.t
val fromDeque : 'el DequeCore.t -> 'el tSequence
val every : ('el -> bool) -> 'el tSequence -> bool
val everyi : (int -> 'el -> bool) -> 'el tSequence -> bool
val forEach : ('el -> unit) -> 'el tSequence -> unit
val forEachi : (int -> 'el -> unit) -> 'el tSequence -> unit
val none : ('el -> bool) -> 'el tSequence -> bool
val nonei : (int -> 'el -> bool) -> 'el tSequence -> bool
val some : ('el -> bool) -> 'el tSequence -> bool
val somei : (int -> 'el -> bool) -> 'el tSequence -> bool
val filterDrop : ('el -> bool) -> 'el tSequence -> 'el tSequence
val filterDropi : (int -> 'el -> bool) -> 'el tSequence -> 'el tSequence
val filterKeep : ('el -> bool) -> 'el tSequence -> 'el tSequence
val filterKeepi : (int -> 'el -> bool) -> 'el tSequence -> 'el tSequence
val map : ('a -> 'b) -> 'a tSequence -> 'b tSequence
val mapi : (int -> 'a -> 'b) -> 'a tSequence -> 'b tSequence
val reverse : 'el tSequence -> 'el tSequence
val reduce : ('acc -> 'el -> 'acc) -> 'acc -> 'el tSequence -> 'acc
val reducei : ('acc -> int -> 'el -> 'acc) -> 'acc -> 'el tSequence -> 'acc
val reduceReverse : ('acc -> 'el -> 'acc) -> 'acc -> 'el tSequence -> 'acc
val reduceReversei : ('acc -> int -> 'el -> 'acc) -> 'acc -> 'el tSequence -> 'acc
val flatten : 'el tSequence tSequence -> 'el tSequence
val concat : 'el tSequence -> 'el tSequence -> 'el tSequence
val concatList : 'el tSequence list -> 'el tSequence
OCaml

Innovation. Community. Security.