December 2021
Beginner
840 pages
47h 29m
English
Thus far in our presentation of Scheme we have defined functions where the parameter list of each function, like any other list in Scheme, is enclosed in parentheses. For example, consider the following identity function, which can accept an atom or a list (i.e., it is polymorphic):
The second and third cases fail because f is defined to accept only one argument, and not two and three arguments, respectively.
Every function in Scheme is defined to accept only one list argument. We did not present Scheme functions in this way initially because most readers are probably familiar with ...
Read now
Unlock full access