3 ms·
You can explicitly override multiple assignment in elixir by using a carat: a = 1 ^a = 1 - ok ^a = 2 - bad match
by lamp 13y ago
You can explicitly override multiple assignment in elixir by using a carat:
a = 1
^a = 1 - ok
^a = 2 - bad match
- nivertech 13y agoI know, what I said is that multiple assignment should be explicit, when single assignment should be default. I.e. the reverse of what is in Elixr.