6 Matching Annotations
  1. Feb 2019
    1. any word beginning with an upper-case letter is a Prolog variable
    2. This is the way logical conjunction is expressed in Prolog (that is, the comma means and )
    3. the semicolon ; is the Prolog symbol for or

      how to express disjunction

  2. Sep 2018
    1. it is usual to use a suffix / followed by a number to indicate the predicate’s arity

      后缀 /

    1. the :- means implication, the , means conjunction, and the ; means disjunction
      • :-: means implication
      • ; : means conjunction
      • , : means disjunction
    1. This will introduce us to the three basic constructs in Prolog: facts, rules, and queries.

      facts, rules, queries