package tezos-protocol-alpha
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=43723d096307603703a1a89ed1b2eb202b365f5e7824b96b0cbf813b343a6cf7
sha512=b2a637f2e965000d3d49ad85277ca24d6cb07a1a7cf2bc69d296d8b03ad78c3eaa8e21e94b9162e62c2e11649cd03bc845b2a3dafe623b91065df69d47dc8e4f
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.