Comment

Comment by troupo

> The one-sided pattern matching seems to be a peculiarity of Elixir.

And Erlang. And Haskell. And OCaml. And F#. And...

As far as I understand, only Prolog has unification (out of more-or-less used/known languages). And in languages that require (rather awkward and verbose) workarounds for this functionality, it's hard to see the immediate value of unification.

parent troupo 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton