gluethat we can use to construct compound data objects. Figure 2.4 shows a standard way to visualize a pair—in this case, the pair formed by pair(1, 2).
closurehere comes from abstract algebra, where a set of elements is said to be closed under an operation if applying the operation to elements in the set produces an element that is again an element of the set. The programming languages community also (unfortunately) uses the word
closureto describe a totally unrelated concept: A closure is an implementation technique for representing functions with free names. We do not use the word
closurein this second sense in this book.