package decompress

  1. Overview
  2. Docs

(imperative) Heap implementation

type t = {
  1. mutable buffer : int array;
  2. mutable length : int;
}
val make : int -> t
val get_parent : int -> int
val get_child : int -> int
exception Break
val push : int -> int -> t -> unit
val pop : t -> int * int
val length : t -> int
OCaml

Innovation. Community. Security.