What's the difference between “false” and “no” in Prolog
问题 I started to learn Prolog following the book Programming in Prolog: Using the ISO Standard. At page 7 of the intro to the language they made the assertion : "In Prolog the answer no is used to mean nothing unifies with the question . It is important to remember that no is not the same as false ". So why SWI-Prolog uses the false and true statement instead of yes or no ? 回答1: To begin with, the ISO standard (ISO/IEC 13211-1:1995) does not define a toplevel loop. In 1 Scope it reads: NOTE —