package tezos-baking-alpha

  1. Overview
  2. Docs

The Timestamp_of_round_tbl module allows to create memoization tables to store function calls of Round.timestamp_of_round.

type 'a t
val create : int -> 'a t
val replace : 'a t -> key -> 'a -> unit
val fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val fold_v : ('a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val find_opt : 'a t -> key -> 'a option
val remove : 'a t -> key -> unit
val length : 'a t -> int
val capacity : 'a t -> int
val clear : 'a t -> unit
module H : sig ... end
OCaml

Innovation. Community. Security.