Nom de la clé de la carte de modification de l'élixir

iex> details = %{name: "john", address1: "heaven", mobile1: "999999999"}
# %{address1: "heaven", mobile1: "999999999", name: "john"}

iex> Map.new(details, fn  
  {:address1, address} -> {:address, address}
  {:mobile1, mobile} -> {:phone, mobile} 
  x -> x 
end)
# %{address: "heaven", name: "john", phone: "999999999"}
patrick204nqh