package mirage
-
mirage
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Universal map of keys
val new_key : string -> 'a key
new_key n
is a new key with name k
.
val empty : t
empty
is the empty context.
add k v t
is t
augmented with the binding (k, v)
. Any previous binding of k
is removed.
find k t
is v
is the binding (k, v)
has been added to t
, otherwise it is None
.
merge ~default t
merges t
on top of default
. If a key appears in both default
and t
, the value present in t
is kept.
val dump : t Fmt.t
dump
dumps the state of t
.