Add Map.split_with/2
Add Map.intersect/2 and Map.intersect/3
Module
18 changes across 15 versions
Changes by version
Add Map.split_with/2
Add Map.intersect/2 and Map.intersect/3
Add Map.from_keys/2 and Map.replace_lazy/3
Deprecate the recently added Map.map/2 as it is equivalent to Map.new/2
Implement Map.filter/2 and Map.map/2
Add Map.pop!/2
Deprecate Enumerable keys in Map.drop/2, Map.split/2, and Map.take/2
Optimize and merge nested maps put and merge operations
Map.replace/3 is deprecated in favor of Map.fetch/2 and Map.put/3
Optimize Map.merge/3 by choosing merging direction
Add replace/3 and replace!/3 for replacing an existing key
Raise BadMapError in Map.equal?/2 when either of the two arguments is not a map
Fix regression on struct update syntax
Warn when attempting to override __struct__ key
Map.size/1 is deprecated in favor of Kernel.map_size/1
Map.size/1 is deprecated in favor of map_size/1
Add Map.from_struct/1
Add a Map module and support 17.0 maps and structs