iex(1)> m=%{foo: 1}%{foo: 1}iex(2)> %{m | bar: 2}** (KeyError) key :bar not found in: %{foo: 1} (stdlib) :maps.update(:bar, 2, %{foo: 1}) (stdlib) erl_eval.erl:255: anonymous fn/2 in :erl_eval.expr/5 (stdlib) lists.erl:1262: :lists.foldl/3iex(2)> %{m | foo: 2}%{foo: 2}
--
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-core" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-core/HCHiY9ctjrg/unsubscribe.
To unsubscribe from this group and all its topics, 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/ef39ecfc-8e92-4bfa-8272-b78e354b3528%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.