In Lisp, car, cdr, and cons are fundamental functions. The cons function is used to construct lists, and the car and cdr functions are used to take them apart.
The cons function constructs lists; it is the inverse of car and cdr. For example, cons can be used to make a four element list from...