effusion v0.1.0 Effusion.Map View Source

Useful Map functions.

Link to this section Summary

Functions

Rename the keys of map according to the rules given by names

Link to this section Functions

Rename the keys of map according to the rules given by names.

Examples

iex> Effusion.Map.rename_keys(%{a: 1, b: 2}, %{a: :x, b: :y})
%{x: 1, y: 2}