package ocaml-in-python

  1. Overview
  2. Docs
type 'a t = {
  1. mutable array : 'a array;
  2. mutable length : int;
  3. dummy : 'a;
}
val create : 'a -> int -> 'b t
val length : 'a t -> int
val get : 'a t -> int -> 'b
val set : 'a t -> int -> 'b -> unit
val push_f : 'a t -> (int -> 'b) -> int
val push : 'a t -> 'b -> int
val to_list_map : ('a -> 'b) -> 'c t -> 'd list
OCaml

Innovation. Community. Security.