Module Partial_array

module Partial_array: sig .. end
Arrays in which only some initial segment is meaningful.


Arrays in which only some initial segment is meaningful.
type 'a t = {
   values : 'a array;
   mutable len : int;
}
val len : 'a t -> int
val set_len : 'a t -> int -> unit
val values : 'a t -> 'a array
module Fields: sig .. end
val create : values:'a array -> len:int -> 'a t
val map_to_array : 'a t -> f:('a -> 'b) -> 'b Core.Std.Array.t

Arrays in which only some initial segment is meaningful.