Module ttdict

Data Types

ttdict()

ttdict() = empty | {empty, any(), any(), empty} | {any(), any(), any(), any()} | {empty, any(), any(), empty, any(), any(), empty} | {any(), any(), any(), any(), any(), any(), any()}

Function Index

append/3
append_list/3
dict_to_list/1
erase/2
fetch/2
fetch_keys/1
filter/2
find/2
first/1
fold/3
foreach/2
from_list/1
is_key/2
last/1
list_to_dict/1
map/2
mapfold/3
merge/3
new/0
next/2
prev/2
size/1
store/3
to_list/1
update/3
update/4
update_counter/3
update_val/3

Function Details

append/3

append(Key, Value, Dict1) -> Dict2

append_list/3

append_list(Key, Values, Dict1) -> Dict2

dict_to_list/1

dict_to_list(D) -> any()

erase/2

erase(Key, Dict1) -> Dict2

fetch/2

fetch(Key, Dict) -> Value

fetch_keys/1

fetch_keys(Dict) -> Keys

filter/2

filter(Pred, Dict1) -> Dict2

find/2

find(Key, Dict) -> {ok, Value} | error

first/1

first(Dict) -> error | {ok, {Key1, Value}}

fold/3

fold(Fun, Acc0, Dict) -> Acc1

foreach/2

foreach(Fun, Dict) -> ok

from_list/1

from_list(List) -> Dict

is_key/2

is_key(Key, Dict) -> boolean()

last/1

last(Dict) -> error | {ok, {Key1, Value}}

list_to_dict/1

list_to_dict(L) -> any()

map/2

map(Fun, Dict1) -> Dict2

mapfold/3

mapfold(Fun, Acc0, Dict1) -> {Dict2, Acc1}

merge/3

merge(Fun, Dict1, Dict2) -> Dict3

new/0

new() -> Dict

next/2

next(Key, Dict) -> error | {ok, {Key1, Value}}

prev/2

prev(Key, Dict) -> error | {ok, {Key1, Value}}

size/1

size(Dict) -> non_neg_integer()

store/3

store(Key, Value, Dict1) -> Dict2

to_list/1

to_list(Dict) -> List

update/3

update(Key, Fun, Dict1) -> Dict2

update/4

update(Key, Fun, Initial, Dict1) -> Dict2

update_counter/3

update_counter(Key, Increment, Dict1) -> Dict2

update_val/3

update_val(Key, Value, Dict1) -> Dict2


Generated by EDoc