I've used Erlang but not Elixir. Having an additional optional "pin" operator sounds like a bad idea, just piling on complexity. You can't mess up with the Erlang syntax.
Re:Why Does “=” Mean Assignment?
by glorioustao on Tuesday April 10, 2018 @07:21PM
(#16806581)
The creator of elixir had a blog on this: http://blog.plataformatec.com.br/2016/01/comparing-elixir-an...
iex(1)> x = 1 1 iex(2)> x = 2 2 iex(3)> ^x = 3 (MatchError) no match of right hand side value: 3
Notice the pin operator (^) to achieve the same effect.