Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lamp
on June 1, 2013
|
parent
|
context
|
favorite
| on:
A Week with Elixir
You can explicitly override multiple assignment in elixir by using a carat:
a = 1 ^a = 1 - ok ^a = 2 - bad match
nivertech
on June 1, 2013
[–]
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.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: