Module CamlinternalMenhirLib.InfiniteArray
val make : 'a -> 'a tmake xcreates an infinite array, where every slot containsx. *
val get : 'a t -> int -> 'aget a ireturns the element contained at offsetiin the arraya. Slots are numbered 0 and up. *
val set : 'a t -> int -> 'a -> unitset a i xsets the element contained at offsetiin the arrayatox. Slots are numbered 0 and up. *
val extent : 'a t -> intextent ais the length of an initial segment of the arrayathat is sufficiently large to contain allsetoperations ever performed. In other words, all elements beyond that segment have the default value.
val domain : 'a t -> 'a arraydomain ais a fresh copy of an initial segment of the arrayawhose length isextent a.