ListDict
A Dict implementation that works on lists of two-items tuples.
This dictionary is only recommended for keeping a small amount of values. Other dict alternatives are more viable for keeping any other amount than a handful.
For more information about the functions and their APIs, please
consult the Dict module.
Summary
| delete(dict, key) | |
| drop(dict, keys) | |
| empty(_dict) | |
| equal?(dict, other) | |
| fetch!(dict, key) | |
| fetch(dict, key) | |
| get(dict, key, default \\ nil) | |
| has_key?(dict, key) | |
| keys(dict) | |
| merge(dict, enum, callback \\ fn _k, _v1, v2 -> v2 end) | |
| new() | Returns a new |
| new(pairs) | Creates a new |
| new(list, transform) | Creates a new |
| pop(dict, key, default \\ nil) | |
| put(dict, key, val) | |
| put_new(dict, key, val) | |
| reduce(list, arg2, fun) | |
| size(dict) | |
| split(dict, keys) | |
| take(dict, keys) | |
| to_list(dict) | |
| update!(list1, key, fun) | |
| update(list1, key, initial, fun) | |
| values(dict) |