package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a

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.