-
-
Save adolfont/1ced530bcdf1aba1e189207986b1fab5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clean@adolfo-370E4K:~/Dropbox/2019/Elixir/github/introducao-a-programacao-funcional$ iex | |
Erlang/OTP 21 [erts-10.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe] | |
Interactive Elixir (1.9.4) - press Ctrl+C to exit (type h() ENTER for help) | |
iex(1)> %{secondary: “B”, first: “A”} = %{first: “A”} | |
** (SyntaxError) iex:1: unexpected token: "“" (column 14, code point U+201C) | |
iex(1)> %{secondary: “B”, first: “A”} = %{first: “A”} | |
** (SyntaxError) iex:1: unexpected token: "“" (column 14, code point U+201C) | |
iex(1)> %{secondary: "B", first: "A"} = %{first: "A"} | |
** (MatchError) no match of right hand side value: %{first: "A"} | |
(stdlib) erl_eval.erl:453: :erl_eval.expr/5 | |
(iex) lib/iex/evaluator.ex:257: IEx.Evaluator.handle_eval/5 | |
(iex) lib/iex/evaluator.ex:237: IEx.Evaluator.do_eval/3 | |
(iex) lib/iex/evaluator.ex:215: IEx.Evaluator.eval/3 | |
(iex) lib/iex/evaluator.ex:103: IEx.Evaluator.loop/1 | |
(iex) lib/iex/evaluator.ex:27: IEx.Evaluator.init/4 | |
iex(1)> %{secondary: "B", first: "A"} = %{first: "A"} | |
** (MatchError) no match of right hand side value: %{first: "A"} | |
(stdlib) erl_eval.erl:453: :erl_eval.expr/5 | |
(iex) lib/iex/evaluator.ex:257: IEx.Evaluator.handle_eval/5 | |
(iex) lib/iex/evaluator.ex:237: IEx.Evaluator.do_eval/3 | |
(iex) lib/iex/evaluator.ex:215: IEx.Evaluator.eval/3 | |
(iex) lib/iex/evaluator.ex:103: IEx.Evaluator.loop/1 | |
(iex) lib/iex/evaluator.ex:27: IEx.Evaluator.init/4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment