HashDict (Elixir v1.19.0-dev)

View Source
This module is deprecated. Use Map instead.

Tuple-based HashDict implementation.

This module is deprecated. Use the Map module instead.

Summary

Types

t()

@opaque 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.
@spec 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.