|
|
|
|
|
by ReleaseCandidat
715 days ago
|
|
> Despite what another comment says, unification is a valid - and rather convenient - way to implement pattern matching The article shows that it is a valid and rather convenient way. That's why it is important to tell people that it is not necessary to use it for the "usual" pattern matching. You do (again: for the "usual" pattern matching without "variables", as in free variables, on the right side) _not_ want to use unification but "compile" the pattern matching. |
|
EDIT: Perhaps I am missing Elixir-specific context and I apologise if this is the case. It was the unification that made me click this post.