Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. car and cdr are
primitive operations on cons cells introduced in the Lisp programming
language. A cons cell is composed of two pointers; the car operation
extracts the first pointer, and the cdr operation extracts the second.
Thus, the expression evaluates to x, and (cdr (cons x y)) evaluates to
(y). When cons cells are used to implement singly linked lists, the car
operation returns the first element of the list, while cdr returns the
rest of the list. For this reason, the operations are sometimes given
the names first and rest or head and tail.