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

Loved Prolog, pity that it stayed mostly in academia.

Even got 3rd place on the Portuguese Logic Programming Contest.

I guess Erlang might be the way of keeping it somehow alive in the industry.




Well, besides that Erlang was initially implemented in Prolog, I don't think these languages have much in common except punctuation symbols :)



As for binding, yes, you can come up with similarly looking examples, but they are different in essence: Erlang has pattern matching, while Prolog has unification.


I'm kind of wondering why we haven't seen any notable (unless I've missed something) languages with full unification escape from academia into wider use since Prolog -- I know on the academic side there is Oz, which is a very interesting language, but I don't get the impression that its seen much, if any, use in industry.


"Erlang has pattern matching, while Prolog has unification."

Ah, yes. My first reaction to seeing pattern matching in ML: "Hey, this is literally half of unification."


Yes you are right, that is why I said "somehow".




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

Search: