package mirage-btrees

  1. Overview
  2. Docs
type t
type pointer
type key
type value
val create : int -> t
val noKeys : t -> int
val setNoKeys : t -> int -> unit
val minDegree : t -> int
val pageSize : t -> int
val leaf : t -> bool
val setLeaf : t -> bool -> unit
val getChild : t -> int -> pointer
val setChild : t -> int -> pointer -> unit
val getKey : t -> int -> key
val setKey : t -> int -> key -> unit
val getValue : t -> int -> value
val setValue : t -> int -> value -> unit
val getKeys : t -> key list
val printKeys : t -> string list
val getValues : t -> value list
val printValues : t -> string list