CSE 305 Homework #5 paper & pencil Due at beginning of class August 2nd online Due 11:59:59pm August 2nd.
Filename: practice.cl
doesnt-match (list1 list2) returns a list of all pairs (a
b) where a is from list1 and b is the corresponding element in list2 where a is not equal to b. If both lists are identical, return t. For example, (doesnt-match '(1 2 3) '(1 2 4)) should return ((3 4)).(10 points)
many-unions (list1 list2 &rest listns) returns the unions of the lists list1 and list2 along with any number of other lists represented by listns. You may use the lisp function union in your answer. (10 points)
fibonacci-from (n m) returns the infinite list of fibonacci numbers generated from n and m using the technique of lazy evaluation. Recall that the sequence of fibonacci numbers can be generated by: n, m, n + m, n + 2m, 2n + 3m, ... (10 points)
Exercise 11.1 on page 470 in your textbook.
(Note: You may only use those relations given, or the ones you are writing to answer the questions. No helper relations allowed!)