Toolbelt v0.2.0 Toolbelt.Map
A set of tools and utilities for working on built-in Map
s.
Summary
Functions
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
Transforms the keys of the map-like structure according to the given procedure in the second argument
Iterates over all own keys and nested keys and transforms them according to the given procedure
Transforms the values of the map-like structure according to the given procedure in the second argument
Iterates over all own values and nested values and transforms them according to the given procedure
Similar to Maplike.merge_deep
, but only merges on map and no keyword lists
See Map.new/2
See Map.pop/2
See Map.size/1
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.
Transforms the keys of the map-like structure according to the given procedure in the second argument.
Iterates over all own keys and nested keys and transforms them according to the given procedure.
Transforms the values of the map-like structure according to the given procedure in the second argument.
Iterates over all own values and nested values and transforms them according to the given procedure.
See Map.merge/2
.
See Map.merge/3
.
See Map.new/0
.
See Map.new/1
.
See Map.new/2
.
See Map.pop/2
.
See Map.pop/3
.
See Map.pop_lazy/3
.
See Map.put/3
.
See Map.put_new/3
.
See Map.put_new_lazy/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
.