However, we'd like to be able to identify whether or not each vector is supposed to represent one of our desired objects. One clever trick is to build a special value that others find it hard to duplicate and to put it at the front of the vector. The lambda gets that value. Hence, we can use that value. Next class, we'll see another way to build things like records.
Lab Do the lab on records .
We'll reflect a little bit at the start of class tomorrow. Back to Discussion of Exam2 . On to Object Basics . This means that they are rarely proofread and may contain bad grammar and incorrect details. Feel free to contact me with any suggestions for changes.