Part 1 The Prolog Language Chapter 3 Lists, Operators, Arithmetic
Part 1 The Prolog Language Chapter 3 Lists, Operators, Arithmetic. 3.1 Representation of list. A list is a sequence of any number of items. For example: [ ann, tennis, tom, skiing] A list is either empty or non-empty. Empty: [] Non-empty: The first term, called the head of the list
857 views • 51 slides