December 2021
Beginner
840 pages
47h 29m
English
Since let, let*, and letrec expressions can be reduced to lambda expressions, their use does not violate the spirit of functional programming. In turn, we use them for purposes of program readability. Moreover, their use can improve the efficiency (in time and space) of our programs, as we demonstrate in this section. We start by developing some list functions to be used later in our demonstrations.
The function remove_first removes the first occurrence of an atom a from a list of atoms lat:
Here the eqv? predicate returns true if its two arguments are equal and false otherwise. ...
Read now
Unlock full access