package octez-l2-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type key = Ast.name
type 'a producer = key -> 'a Lwt.t
module Map : sig ... end
type 'a t
val origin : 'a t -> Tezos_tree_encoding.wrapped_tree option
val string_of_key : key -> string
val pp : (Stdlib.Format.formatter -> 'a -> unit) -> Stdlib.Format.formatter -> 'a t -> unit
val to_string : ('a -> string) -> 'a t -> string
val create : ?values:'a Map.t -> ?produce_value:'a producer -> ?origin:Tezos_tree_encoding.wrapped_tree -> unit -> 'a t
val get : key -> 'a t -> 'a Lwt.t
val set : key -> 'a -> 'a t -> 'a t
val remove : key -> 'a t -> 'a t
val dup : 'a t -> 'a t
val loaded_bindings : 'a t -> (key * 'a option) list
OCaml

Innovation. Community. Security.