:error{:ok, %{hoge: "hoge"}} iex> ex_map = %{a: 1, b: 2}
%{a: 1, b: 2}
iex>Map.replace(ex_map, :a, 3)
{:ok, %{a: 3, b: 2}}
iex>Map.replace(ex_map, :hoge, 3)
:error--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/812de3be-6088-41ff-b9fa-6387d86ab1df%40googlegroups.com.