News for hackers. Stuff that matters.
Re:Rethinking Prolog [pdf] by dragonwriter on Friday September 12, 2014 @03:08AM (#8306894)
Re:Rethinking Prolog [pdf] by zura on Friday September 12, 2014 @03:17AM (#8306905)
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.
Re:Rethinking Prolog [pdf] by dragonwriter on Friday September 12, 2014 @12:48PM (#8309010)
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.
Re:Rethinking Prolog [pdf] by mcguire on Friday September 12, 2014 @12:33PM (#8308933)
"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."