Something went wrong. Try again.
forked from coq/coq
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637(************************************************************************)(* * The Rocq Prover / The Rocq Development Team *)(* v * Copyright INRIA, CNRS and contributors *)(* <O___,, * (see version control and CREDITS file for authors & dates) *)(* \VV/ **************************************************************)(* // * This file is distributed under the terms of the *)(* * GNU Lesser General Public License Version 2.1 *)(* * (see LICENSE file for the text of the license) *)(************************************************************************)
val max_length : Uint63.t
type 'a tval length : 'a t -> Uint63.tval length_int : 'a t -> intval get : 'a t -> Uint63.t -> 'aval set : 'a t -> Uint63.t -> 'a -> 'a tval default : 'a t -> 'aval make : Uint63.t -> 'a -> 'a tval init : Uint63.t -> (int -> 'a) -> 'a -> 'a tval copy : 'a t -> 'a t
val map : ('a -> 'b) -> 'a t -> 'b t
val to_array : 'a t -> 'a array * 'a (* default *)(* 'a should not be float (no Obj.double_tag) *)
val of_array : 'a array -> 'a (* default *) -> 'a t
val unsafe_of_obj : Obj.t -> 'a -> 'a t(* [unsafe_of_obj] injects an untyped mutable array into a persistent one, but does not perform a copy. This means that if the persistent array is mutated, the original one will be too. The array must be a non-flat array. *)
val fold_left : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'aval fold_left2 : ('a -> 'b -> 'c -> 'a) -> 'a -> 'b t -> 'c t -> 'a