|
|
|
|
30 Points Due: 2/10/00 at the start of class
Complete each of the following problems in the Chapter 14 Problem Set
(pp. 602-603 of the text):
- Problem 11
- Problem 12
- Repeat the "intersection" problem from Homework 2 in Prolog (Ch. 15).
Write a Prolog predicate called "intersection" that takes three
parameters that are lists (to be interpreted as sets). The
predicate should succeed if its third parameter is the
intersection of the first two.
|