Quantcast
Channel: Variable assignment in Elixir - Stack Overflow
Browsing latest articles
Browse All 3 View Live

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 Article


Answer 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 Article


Variable 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
Browsing latest articles
Browse All 3 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>