

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Extensions of simple types Due: Monday, November 6, 2006, by noon Reminder: You should work all one-star exercises in TAPL as you are reading.
1 Exercise Answer each of the following questions either Yes or No. Additionally, for those whose answers are No, give a term t that demonstrates how type safety (either progress or preservation) breaks if we extend the subtype relation with this pair of types.
2 Exercise Suppose we extend the calculus with the product type constructor T 1 × T 2 described in TAPL Section 11.6. It is natural to add a subtyping rule
corresponding to S-RcdDepth for records. Would it be a good idea to add a width subtyping rule for products
as well?
3 Exercise TAPL exercise 15.3.2.
4 Exercise TAPL exercise 15.3.6.
5 Exercise [Required for PhD groups; optional for others.] TAPL exercise 15.5.3.
6 Debriefing