package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

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.