6 ms·
I have a vague recollection that pattern matching in ML influenced Erlang, but I don't remember where I might have heard that.
by macintux 9y ago
I have a vague recollection that pattern matching in ML influenced Erlang, but I don't remember where I might have heard that.
- jacquesm 9y agoProlog.
- tom_mellior 9y agoErlang was first implemented in Prolog, evolving from an embedded Prolog DSL. Fascinating paper at http://www.erlang.se/publications/prac_appl_prolog.ps http://www.erlang.se/publications/prac_appl_prolog.ps It does therefore have a syntax heavily influenced by Prolog. But that doesn't mean that Prolog was the only incluence. The Erlang case expression for pattern matching doesn't really correspond to anything in Prolog, it does look more similar to ML-family languages. The multi-branch if expression looks like a Lisp cond form and again not that much like Prolog.