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
equal?(dict1, dict2) deprecated
fetch(hash_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, fun \\ fn _k, _v1, v2 -> v2 end) deprecated
new() deprecated

Creates a new empty dict.

pop(dict, key, default \\ nil) deprecated
pop_lazy(dict, key, fun) deprecated
put(hash_dict, key, value) deprecated
put_new(dict, key, value) deprecated
put_new_lazy(dict, key, fun) deprecated
size(hash_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

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()

new() :: Dict.t()
This function is deprecated. Use maps and the Map module instead.

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, initial, 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.8.2/HashDict.html