Kappa_data_structures.LargeArray
Implementation of array only limited by max_int
include GenArray.GenArray
val create : int -> 'a -> 'a t
val length : 'a t -> int
val get : 'a t -> int -> 'a
val set : 'a t -> int -> 'a -> unit
val init : int -> (int -> 'a) -> 'a t
val make : int -> 'a -> 'a t
val fill : 'a t -> int -> int -> 'a -> unit
val of_list : default:'a -> 'a list -> 'a t
val iter : ('a -> unit) -> 'a t -> unit
val iteri : (int -> 'a -> unit) -> 'a t -> unit
val fold_lefti : (int -> 'b -> 'a -> 'b) -> 'b -> 'a t -> 'b
val fold_righti : (int -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val print :
?trailing:(Stdlib.Format.formatter -> unit) ->
(Stdlib.Format.formatter -> unit) ->
(int -> Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a t ->
unit