Re:Asynchrony Is Not Concurrency
by alfiedotwtf on Saturday July 19, 2025 @03:27PM
(#44618532)
> the Prolog interpreter attempts to unify a goal with clauses from the knowledge base in the order they appear.
I was under the impression that when plugging holes during unification, that these statements/clauses could happen in any order just as you would like solving a crossword puzzle
If instead you're referring to goals within the body of a clause, this is also incorrect. Goals are evaluated strictly left-to-right, and each must succeed before the next is attempted. This evaluation order is likewise required and observable, especially in the presence of side effects.