std.map [core] std.map.len pub fn len[K, V](m: Map[K, V]) -> int — The number of key-value entries. std.map.is_empty pub fn is_empty[K, V](m: Map[K, V]) -> bool — Whether the map holds no entries. std.map.set pub fn set[K, V](mut m: Map[K, V], k: K, v: V) — Binds k to v, replacing any previous binding. std.map.keys pub fn keys[K, V](m: Map[K, V]) -> List[K] — Every key, in the map's unspecified-but-consistent iteration order. std.map.values pub fn values[K, V](m: Map[K, V]) -> List[V] — Every value, in the same order keys reports. std.map.pairs pub fn pairs[K, V](m: Map[K, V]) -> List[(K, V)] — Every entry as a (key, value) pair, in the map's iteration order — the shape for (k, v) in map.pairs(m) destructures. std.map.clear pub fn clear[K, V](mut m: Map[K, V]) — Empties the map, keeping it usable. std.map.extend pub fn extend[K, V](mut m: Map[K, V], other: Map[K, V]) — Copies every entry of other into m. std.map.get pub fn get[K: cmp.Eq, V](m: Map[K, V], k: K) -> V ! {none} — An independent copy of the value bound to k; none when the key is absent — the absence row, never a zero-value sentinel (§2). std.map.get_or pub fn get_or[K: cmp.Eq, V](m: Map[K, V], k: K, d: V) -> V — An independent copy of the value bound to k, or of d when the key is absent — the eager default (a lazy variant waits on closures, c05). std.map.has pub fn has[K: cmp.Eq, V](m: Map[K, V], k: K) -> bool — Whether k is bound. std.map.remove pub fn remove[K: cmp.Eq, V](mut m: Map[K, V], k: K) -> V ! {none} — Removes k's entry and returns the value it was bound to; none when the key was absent. std.map.tally pub fn tally[K: cmp.Eq](mut m: Map[K, int], k: K) -> int — Increments the count k is bound to and returns the new count, treating an absent key as zero — the wordcount idiom as a named operation instead of a defaulting index (tally[w] += 1, see the module header's filed question).