Module Array.Make
Makes an array given an arbitrary element type
Parameters
Elt : sig ... end
Signature
type elt
= Elt.t
The element type
type t
= Elt.t array
The type of an array instance
val dummy : elt
A dummy element used for empty slots in the array
- since
- 2.4
val create : int -> t
Make an array of the given size, filled with dummy elements.
val length : t -> int
length t
gets the total number of elements currently int
.