MenhirLib.InfiniteArray
SourceThis module implements infinite arrays. *
get a i
returns the element contained at offset i
in the array a
. Slots are numbered 0 and up. *
set a i x
sets the element contained at offset i
in the array a
to x
. Slots are numbered 0 and up. *
extent a
is the length of an initial segment of the array a
that is sufficiently large to contain all set
operations ever performed. In other words, all elements beyond that segment have the default value.