CS 2420-20 Homework 2

Due: Thursday, January 19th, 2012 9:10am

Part 1 – Removes Threes

Using FEED-FISH from list.jam as a starting point, implement a function REMOVE-THREES that takes a list and returns a list like the given one, but with all instances of the number 3 removed.

Your disk image should start with a list analogous to '(3 2 3) in memory, call REMOVE-THREES, and then print the result using PRINT from list.jam. Since REMOVE-THREES will remove the first and last 3 in the original list, the output will be just the number 2.


Last update: Monday, January 16th, 2012
mflatt@cs.utah.edu