Lab: Pairs and Vectors

Assigned
Friday, 4 December 2020
Summary
We explore two ways of structuring data in Racket: Pairs and Vectors.

Preparation

a. Decide who is side A and who is side B.

A side: pairs-and-vectors-a.rkt

B side: pairs-and-vectors-b.rkt

b. Decide who will submit the lab.

c. Review the procedures included in the lab to make sure you understand what they are intended to do. You do not need to figure out how they work, but you might want to try a few experiments.

Acknowledgements

This laboratory is based on a variety of old labs. Sam Rebelsky probably wrote the helper code.