Representation of pairs using only numbers and arithmetic operations
Show that we can represent pairs of nonnegative integers using only numbers and arithmetic operations if we represent the pair a and b as the integer that is the product 2^a * 3^b. Give the corresponding definitions of the procedures cons, car, and cdr.
There are no comments yet.
You must log in to post a comment.Login