↧
Answer by Vincent Gerris for Variable assignment in Elixir
An attempt to actually answer the question, using knowledge from the link. Elixir does not do matching with the = operator , it does something called rebinding. The code example shows how Elixir can be...
View ArticleAnswer by Hynek -Pichi- Vychodil for Variable assignment in Elixir
Yes, Elixir doesn't follow the same concept as Erlang in this regard. Elixir tries to be more accessible for developers less familiar with functional programming, especially Ruby developers. According...
View ArticleVariable assignment in Elixir
I have a question about variable assignment in Elixir. In Erlang, this would raise a no match of right hand side value:X = 4.X = 2.However, it seems perfectly fine in Elixir to assign a value to a...
View Article