Hacker News new | past | comments | ask | show | jobs | submit login

I have a vague recollection that pattern matching in ML influenced Erlang, but I don't remember where I might have heard that.



Prolog.


Erlang was first implemented in Prolog, evolving from an embedded Prolog DSL. Fascinating paper at 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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: