News for hackers. Stuff that matters.
Re:Rethinking Prolog [pdf] by pjmlp on Friday September 12, 2014 @01:50AM (#8306743)
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.

Re:Rethinking Prolog [pdf] by zura on Friday September 12, 2014 @02:51AM (#8306859)
Well, besides that Erlang was initially implemented in Prolog, I don't think these languages have much in common except punctuation symbols :)
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."

Re:Rethinking Prolog [pdf] by pjmlp on Friday September 12, 2014 @07:41AM (#8307521)
Yes you are right, that is why I said "somehow".