Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lamp
· 13y ago · 0 comments
You can explicitly override multiple assignment in elixir by using a carat:
a = 1 ^a = 1 - ok ^a = 2 - bad match
Comments
[–]
nivertech
13y ago
I 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.