Toolbelt v0.3.1 Toolbelt.Map
A set of tools and utilities for working on built-in Map
s.
Summary
Functions
Similar to Enum.filter
, but produces a map instead of a keyword list
See Map.get/2
See Map.keys/1
This function works like Enum.map
, but produces a new map instead of a keyword list
Just like Map.map
, except that nested maps within the given map will be tranversed and also transformed
Similar to Maplike.merge_deep
, but only merges on nested maps
See Map.new/2
Creates a new map from another map with only keys in it that have the given prefix
See Map.pop/2
Similar to Kernel.put_in/3
, but creates new maps if nil
is returned while traversing the path
See Map.size/1
Converts the given map and all of its child maps to keyword lists
Functions
See Map.delete/2
.
See Map.drop/2
.
See Map.equal?/2
.
See Map.fetch/2
.
See Map.fetch!/2
.
See Map.from_struct/1
.
See Map.get/2
.
See Map.get/3
.
See Map.get_and_update/3
.
See Map.get_lazy/3
.
See Map.has_key?/2
.
See Map.keys/1
.
Just like Map.map
, except that nested maps within the given map will be tranversed and also transformed.
See Map.merge/2
.
See Map.merge/3
.
See Map.new/0
.
See Map.new/1
.
See Map.new/2
.
Creates a new map from another map with only keys in it that have the given prefix.
See Map.pop/2
.
See Map.pop/3
.
See Map.pop_lazy/3
.
See Map.put/3
.
Similar to Kernel.put_in/3
, but creates new maps if nil
is returned while traversing the path.
See Map.put_new/3
.
See Map.put_new_lazy/3
.
See Map.replace/3
.
See Map.replace!/3
.
See Map.size/1
.
See Map.split/2
.
See Map.take/2
.
See Map.to_list/1
.
See Map.update/4
.
See Map.update!/3
.
See Map.values/1
.