Dana Vrajitoru
C311 Programming Languages

Homework 2

Due Date: Thursday, September 11, 2008.

Note. The results of the entire exercise should be sent in one file with the extension .el as an attachment to an email.

Ex. 1 Write a Lisp program and do the following:

Ex. 2 Implement the following functions in the same file, complete with short descriptions:

Evaluate both of these functions and show a few examples of testing them. Send the file by email as an attachment. Note: anything but the Lisp expressions and the results of their evaluation should be commented out in the file uning the ";". Make sure that there is a comment at the top with your name and homework number.