COSC 152 Programming Languages

Fall 2006

Homework Assignment #4

Home of the Free and the Bound

Due: Friday, Sept 29, 2:00PM CDT
Submit: E-mail electronic copy to professor, with a subject header "COSC 152 HW#4".
Work may be completed in pairs. Each team should submit only once. Be certain to put both team member names on work submitted. It would be courteous to carbon-copy your partner when e-mailing the final submission.
Q1 - EoPL Exercise 1.22
Beginning with the code for occurs-free? and occurs-bound? in Figure 1.1 of Essentials of Programming Languages, add support for lambda expressions with multiple parameters.
Q2 - EoPL Exercise 1.23
Add support for if expressions to occurs-free? and occurs-bound?.
Q3 - EoPL Exercise 1.24
Add support for let and let* expressions to occurs-free? and occurs-bound?.
Q4 - EoPL Exercise 1.25
Add support for quote expressions to occurs-free? and occurs-bound?.
Q5 - EoPL Exercise 1.26
Add support for set! expressions to occurs-free? and occurs-bound?.

Back