package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053

doc/octez-shell-libs.shell-benchmarks/Tezos_shell_benchmarks/Io_helpers/Key_map/index.html

Module Io_helpers.Key_mapSource

Maps from string lists to bytes. No balancing. A key cannot be a prefix or a suffix to another key.

Sourcetype 'a t =
  1. | Leaf of 'a
  2. | Node of 'a t String_map.t
Sourceval encoding : 'a Tezos_base.TzPervasives.Data_encoding.t -> 'a t Tezos_base.TzPervasives.Data_encoding.t
Sourceval empty : 'a t
Sourceval is_empty : 'a t -> bool
Sourceval insert : string list -> 'a -> 'a t -> 'a t
Sourceval does_not_collide : String_map.key list -> 'a t -> [> `Key_does_not_collide | `Key_exists | `Key_has_prefix | `Key_has_suffix ]
Sourceval mem : String_map.key list -> 'a t -> bool
Sourceval find_opt : String_map.key list -> 'a t -> 'a option
Sourceval of_seq : (string list * 'a) Tezos_base.TzPervasives.Seq.t -> 'a t
Sourceval fold_lwt : (String_map.key list -> 'a -> 'b -> 'b Lwt.t) -> 'a t -> 'b -> 'b Lwt.t
Sourceval sample_uniform : 'a t -> (String_map.key list * 'a) option
OCaml

Innovation. Community. Security.