Chapter 4
Lists
This chapter has three main goals:
- To introduce lists, an important recursive data structure often used in Prolog programming.
- To define the member/2 predicate, a fundamental Prolog tool for manipulating lists.
- To introduce the idea of recursing down lists.