CS 6520 Homework 14

Exercise 14.1

Derive a type forin the typed lambda calculus extended with pairs.

Exercise 14.2

Derive a type forin the typed lambda calculus extended with variants.

Also, show how the expression reduces to a value.

Exercise 14.3

Show thathas a type for any T.

How is it possible that the expression produces a value of that type?


Last update: Tuesday, March 7th, 2000
mflatt@cs.utah.edu