Ambient_context_core.StorageStorage implementation.
There is a singleton storage for a given program, responsible for providing ambient context to the rest of the program.
val name : t -> stringName of the storage implementation.
Get the context from the current storage, or Hmap.empty if there is no ambient context.
with_context storage ctx f calls f() in an ambient context in which get_context() will return ctx. Once f() returns, the storage is reset to its previous value.
val get : t -> 'a Context.key -> 'a optionGet the ambient context and then look up k in it
with_key_bound_to storage k v f calls f() in a context updated to have k map to v.