In some programming languages such as Scheme, pairs are the basic values and lists are defined in
Question:
In some programming languages such as Scheme, pairs are the basic values and lists are defined in terms of pairs. Define a pair as a 2-tuple and redefine the value relations for list, car, cdr, cons, and null? in terms of pair values.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
An Experiential Introduction To Principles Of Programming Languages
ISBN: 9780262045452
1st Edition
Authors: Hridesh Rajan
Question Posted: