HashDict

This module is deprecated. Use Map instead.

Tuple-based HashDict implementation.

This module is deprecated. Use the Map module instead.

Summary

Types

t()

Functions

delete(dict, key) deprecated
drop(dict, keys) deprecated
fetch!(dict, key) deprecated
has_key?(dict, key) deprecated
keys(dict) deprecated
new() deprecated

Creates a new empty dict.

size(hash_dict) deprecated
split(dict, keys) deprecated
take(dict, keys) deprecated
to_list(dict) deprecated
values(dict) deprecated

Types

t()

Specs

t()

Functions

delete(dict, key)

This function is deprecated. Use maps and the Map module instead.

drop(dict, keys)

This function is deprecated. Use maps and the Map module instead.

equal?(dict1, dict2)

This function is deprecated. Use maps and the Map module instead.

fetch(hash_dict, key)

This function is deprecated. Use maps and the Map module instead.

fetch!(dict, key)

This function is deprecated. Use maps and the Map module instead.

get(dict, key, default \\ nil)

This function is deprecated. Use maps and the Map module instead.

get_and_update(dict, key, fun)

This function is deprecated. Use maps and the Map module instead.

get_lazy(dict, key, fun)

This function is deprecated. Use maps and the Map module instead.

has_key?(dict, key)

This function is deprecated. Use maps and the Map module instead.

keys(dict)

This function is deprecated. Use maps and the Map module instead.

merge(dict1, dict2, fun \\ fn _k, _v1, v2 -> v2 end)

This function is deprecated. Use maps and the Map module instead.

new()

This function is deprecated. Use maps and the Map module instead.

Specs

new() :: Dict.t()

Creates a new empty dict.

pop(dict, key, default \\ nil)

This function is deprecated. Use maps and the Map module instead.

pop_lazy(dict, key, fun)

This function is deprecated. Use maps and the Map module instead.

put(hash_dict, key, value)

This function is deprecated. Use maps and the Map module instead.

put_new(dict, key, value)

This function is deprecated. Use maps and the Map module instead.

put_new_lazy(dict, key, fun)

This function is deprecated. Use maps and the Map module instead.

size(hash_dict)

This function is deprecated. Use maps and the Map module instead.

split(dict, keys)

This function is deprecated. Use maps and the Map module instead.

take(dict, keys)

This function is deprecated. Use maps and the Map module instead.

to_list(dict)

This function is deprecated. Use maps and the Map module instead.

update(dict, key, default, fun)

This function is deprecated. Use maps and the Map module instead.

update!(dict, key, fun)

This function is deprecated. Use maps and the Map module instead.

values(dict)

This function is deprecated. Use maps and the Map module instead.

© 2012 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/elixir/1.11.2/HashDict.html