package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 5.1.0

Install

Dune Dependency

Authors

Maintainers

Sources

5.1.0.tar.gz
sha256=43a3ac7aab7f8880f2bb6221317be55319b356e517622fdc28359fe943e6a450

doc/compiler-libs.common/Misc/Stdlib/Array/index.html

Module Stdlib.Array

Extensions to the Array module

val exists2 : ('a -> 'b -> bool) -> 'a array -> 'b array -> bool

Same as Array.exists2 from the standard library.

val for_alli : (int -> 'a -> bool) -> 'a array -> bool

Same as Array.for_all from the standard library, but the function is applied with the index of the element as first argument, and the element itself as second argument.

val all_somes : 'a option array -> 'a array option
OCaml

Innovation. Community. Security.