View Source Dict (Elixir v1.10.0)
This module is deprecated. Use Map or Keyword modules instead.
Generic API for dictionaries.
If you need a general dictionary, use the Map
module.
If you need to manipulate keyword lists, use Keyword
.
To convert maps into keywords and vice-versa, use the
new
function in the respective modules.
Link to this section Summary
Functions
delete(dict, key)
deprecated
drop(dict, keys)
deprecated
empty(dict)
deprecated
equal?(dict1, dict2)
deprecated
fetch(dict, key)
deprecated
fetch!(dict, key)
deprecated
get(dict, key, default \\ nil)
deprecated
get_and_update(dict, key, fun)
deprecated
get_lazy(dict, key, fun)
deprecated
has_key?(dict, key)
deprecated
keys(dict)
deprecated
merge(dict1, dict2)
deprecated
merge(dict1, dict2, fun)
deprecated
pop(dict, key, default \\ nil)
deprecated
pop_lazy(dict, key, fun)
deprecated
put(dict, key, val)
deprecated
put_new(dict, key, val)
deprecated
put_new_lazy(dict, key, fun)
deprecated
size(dict)
deprecated
split(dict, keys)
deprecated
take(dict, keys)
deprecated
to_list(dict)
deprecated
update(dict, key, initial, fun)
deprecated
update!(dict, key, fun)
deprecated
values(dict)
deprecated
Link to this section Types
Link to this section Functions
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
@spec size(t()) :: non_neg_integer()
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.
This function is deprecated. Use the Map module for working with maps or the Keyword module for working with keyword lists.