December 2021
Beginner
840 pages
47h 29m
English
The apply function in Scheme is a higher-order function that accepts a function f and a list l as arguments, where the elements of l are the individual arguments of f, and that applies f to these (individual) arguments and returns the result:
This is called complete function application because a complete set of arguments is supplied for the parameters to the function. The type signature and λ-calculus for apply are given in Table 8.1. The function eval, in contrast, evaluates S-expressions representing code in an environment:
Table 8.1 Type Signatures and λ-Calculus for a Variety of Higher-Order ...
Read now
Unlock full access