plebeia

Functional storage using Merkle Patricia tree
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library plebeia
module Type : sig ... end
include module type of struct include Type end
type t = private Type.t = {
off : int;
len : int;
vec : Vector.t;
}
val mk : off:int -> len:int -> Vector.t -> t
val of_sides : side list -> t
val to_sides : t -> side list
val unsafe_get_side : t -> int -> side
val empty : t
val is_empty : t -> bool
val cut : t -> (side * t) option
val get_side : t -> int -> side option
val drop : int -> t -> t
val length : t -> int
val get_i63 : t -> int -> int
val append : t -> t -> t
val concat : t list -> t
val normalize : t -> t
val equal : t -> t -> bool
val equal_list : t list -> t list -> bool
val to_string : t -> string
val pp : Utils.Format.formatter -> t -> unit
val compare : t -> t -> int
val pp_debug : Utils.Format.formatter -> t -> unit
val common_prefix : t -> t -> t * t * t