- dict_change_keys(+Dict1:dict, +KeyChanges:list(pair(atom)), -Dict2:dict) is det
- dict_delete(+KeyOrKeys:or([atom,list(atom)]), +From:dict, -To:dict) is det
- dict_delete(+Key:atom, +From:dict, -Value:term, -To:dict) is det
- dict_delete(+Key:atom, +From:dict, +Default:term, -Value:term, -To:dict) is det
- Either delete the Value for Key from From resulting in To, or
return the Default value and leave the dictionary unchanged.
- dict_get(+KeyOrKeys:or([atom,list(atom)]), +Dict:dict, -Value:term) is semidet
- dict_get(-Key:atom, +Dict:dict, -Value:term) is nondet
- dict_inc(+Key:atom, +Dict:dict) is det
- dict_inc(+Key:atom, +Dict:dict, -Value:number) is det
- dict_inc(+Key:atom, +Dict:dict, +Diff:number, -Value:number) is det
- dict_key(+Dict:dict, +Key:atom) is semidet
- dict_key(+Dict:dict, -Key:atom) is nondet
- dict_pairs(+Dict:dict, +Pairs:list(pair(atom,term))) is semidet
- dict_pairs(+Dict:dict, -Pairs:list(pair(atom,term))) is det
- dict_pairs(-Dict:dict, +Pairs:list(pair(atom,term))) is det
- dict_put(+From1:dict, +From2:dict, -To:dict) is det
- dict_put(+Key:atom, +From:dict, +Value:term, -To:dict) is det
- dict_select(+Select:dict, +From:dict, -To:dict) is det
- dict_select(+Key:atom, +From:dict, -To:dict, -Value:term) is semidet
- dict_select(+Key:atom, +From:dict, +Default:term, -To:dict, -Value:term) is det
- dict_tag(+Dict:dict, +Tag:atom) is semidet
- dict_tag(+Dict:dict, -Tag:atom) is det
- dict_tag(+From:dict, +Tag:atom, +To:dict) is semidet
- dict_tag(+From:dict, +Tag:atom, -To:dict) is det
- Converts between dictionaries that differ only in their outer tag name.
- dict_terms(+Dict:dict, -Terms:list(compound)) is det
- dict_terms(-Dict:dict, +Terms:list(compound)) is det
- merge_dicts(+Dicts:list(dict), -Dict:dict) is det
- A string of applications of merge_dicts/3, where newer dictionaries
appear later in `Dicts'.
- merge_dicts(+NewFrom:dict, +OldFrom:dict, -To:dict) is det
- Merges two dictionaries into one new dictionary, similar to
merge_options/3 from the `option' standard library.
If NewFrom and OldFrom contain the same key then the value from
NewFrom is used, unless both are dicts, in which case the dicts are
merged recursively. If NewFrom and OldFrom have a different tag,
then the tag from NewFrom is used.
- nb_increment_dict(+Dict:dict, +Key:atom) is det
- nb_increment_dict(+Dict:dict, +Key:atom, -Value:positive_integer) is det
Undocumented predicates
The following predicates are exported, but not or incorrectly documented.
- dict_delete(Arg1, Arg2, Arg3, Arg4, Arg5)
- dict_get(Arg1, Arg2, Arg3, Arg4)
- dict_inc(Arg1, Arg2, Arg3)
- dict_inc(Arg1, Arg2, Arg3, Arg4)
- dict_select(Arg1, Arg2, Arg3, Arg4, Arg5)
- nb_increment_dict(Arg1, Arg2, Arg3)