Dict is no longer a behaviour and its functions will be deprecated in upcoming releases
Module
Dict
12 changes across 10 versions
Changes by version
Dict and HashDict are soft deprecated in favor of Map
Add Dict.get_and_update/3 which behaves similar to the now deprecated Access protocol
Add Dict.get_lazy/3, Dict.pop_lazy/3 and Dict.put_new_lazy/3
Dict.Behaviour is deprecated in favor of Dict
Dict.Behaviour is deprecated in favor of Dict
Dict.empty/1, Dict.new/1 and Dict.new/2 are deprecated
Implementations of equal?/2 and merge/2 in HashDict and ListDict are no longer polymorphic. To get polymorphism, use the functions in Dict instead
Document and enforce all dicts use the match operator (===) when checking for keys
Fix a bug when a HashDict was marked as equal when one was actually a subset of the other
Add Dict.Behaviour as a convenience to create your own dictionaries
Dict.update/3 is deprecated in favor of Dict.update!/3