News for hackers. Stuff that matters.
Re:Why Learning Prolog Can Make You a Better Programmer by danieldk on Friday April 08, 2011 @03:45PM (#2425326)
There is a subset called "pure Prolog", which is restricted to Horn clauses. But regular Prolog (with extralogical features) is not functional, and definitely not pure. For instance, the proof_me predicate in the following program will be true, only once:

  :- dynamic bla/0.

  proof_me :-
    \+ bla,
    assert(bla).

There are no comments on this comment yet.