MapSetMap (Anoma v0.29.0)

An IdentityMap where the values are MapSets, plus some convenient helper functions.

Summary

Types

@type t(k, v) :: IdentityMap.t(k, MapSet.t(v))

Functions

Link to this function

add(map, key, value)

@spec add(t(key(), value()), key(), value()) :: t(key(), value())
@spec empty_map_p(MapSet.t()) :: boolean()
@spec get(t(key(), value()), key()) :: value()
@spec new() :: t(key(), value())
Link to this function

remove(map, key, value)

@spec remove(t(key(), value()), key(), value()) :: t(key(), value())