package tezos-protocol-alpha
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc
doc/tezos-protocol-alpha.raw/Tezos_raw_protocol_alpha/Bounded_history_repr/Make/index.html
Module Bounded_history_repr.MakeSource
Parameters
Signature
empty ~capacity returns a new table whose maximum capacity is given.
Encoding for values of type t
Pretty-printer for values of type t
find key t returns Some value if there exists some value associated to key in the table, and None otherwise.
remember key value t inserts a new entry (key |-> value) in t.
If key already exists in t, its associated binding value' should be equal to value. In this case, t is returned unchanged. Otherwise, an error Key_bound_to_different_value is returned.
If key is not already present in t, the new binding (key |-> value) is inserted in t. If the number of elements would exceed t's capacity after the insertion of the new binding, the oldest binding is removed from t.
The structure t is returned unchanged if its capacity is negative or null.