CS 336 Homework

Homework 1

Due 1/22/02.
  1. Exercises 3.5.13 and 3.5.14.

Homework 2

Due 1/31/02.
  1. Write a detailed proof of Theorem 9.3.9.
  2. Modify the simplebool program to add arithmetic terms and a second primitive type Nat.

Homework 3

Due 2/19/02.
  1. Consider a Chan(T) type constructor (see Section 15.5), with operations
        newchan[T] : Unit -> Chan T
        send : Chan T * T -> Unit
        receive : Chan T -> T
    
    The send operation is similar to ":=", while receive is analagous to "!". Show why the Chan type constructor must be invariant, like Ref.
  2. Exercise 16.2.1.
  3. Prove 16.2.5.

Dave MacQueen
Last modified: Wed Jan 30 11:35:26 CST 2002