Module Instance.NameMap

type key = Ast.name
type 'a producer = key -> 'a Lwt.t
module Map : sig ... end
type 'a t
val origin : 'a t -> Mavryk_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:Mavryk_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