package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

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
Sourceexception Collision_with_prefix
Sourceexception Collision_with_suffix
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
Sourceval encoding : 'a Tezos_base.TzPervasives.Data_encoding.encoding -> 'a t Tezos_base.TzPervasives.Data_encoding.encoding
OCaml

Innovation. Community. Security.