package coq-core

  1. Overview
  2. Docs
The Coq Proof Assistant -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.17.1.tar.gz
sha512=9a35311acec2a806730b94ac7dceabc88837f235c52a14c026827d9b89433bd7fa9555a9fc6829aa49edfedb24c8bbaf1411ebf463b74a50aeb17cba47745b6b

doc/coq-core.clib/Int/PArray/index.html

Module Int.PArraySource

Sourcetype 'a t

Persistent, auto-resizable arrays. The get and set functions never fail whenever the index is between 0 and Sys.max_array_length - 1.

Sourceval empty : int -> 'a t

The empty array, with a given starting size.

Sourceval get : 'a t -> int -> 'a option

Get a value at the given index. Returns None if undefined.

Sourceval set : 'a t -> int -> 'a option -> 'a t

Set/unset a value at the given index.

OCaml

Innovation. Community. Security.