package tezos-protocol-012-Psithaca

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type tree
type key
type value
val mem : tree -> key -> bool Lwt.t
val mem_tree : tree -> key -> bool Lwt.t
val find : tree -> key -> value option Lwt.t
val find_tree : tree -> key -> tree option Lwt.t
val list : tree -> ?offset:int -> ?length:int -> key -> (string * tree) list Lwt.t
val add : tree -> key -> value -> tree Lwt.t
val add_tree : tree -> key -> tree -> tree Lwt.t
val remove : tree -> key -> tree Lwt.t
val fold : ?depth:depth -> tree -> key -> order:[ `Sorted | `Undefined ] -> init:'a -> f:(key -> tree -> 'a -> 'a Lwt.t) -> 'a Lwt.t
val empty : t -> tree
val is_empty : tree -> bool
val kind : tree -> Kind.t
val to_value : tree -> value option Lwt.t
val of_value : t -> value -> tree Lwt.t
val hash : tree -> Context_hash.t
val equal : tree -> tree -> bool
val clear : ?depth:int -> tree -> unit