Mantras, revisited |
|
- Every expression1 has a value.
- To find the value of a combination,
- Find the values of the subexpressions, in any order.
- Apply2 the value of the first to the values of the
rest.
- The value of a lambda expression is a compound procedure.3
- The value of a quote expression is the thing quoted.
Notes:
- Except for errors, infinite loops, and the define special
form.
- To apply a compound procedure to arguments use the arguments and
all three parts of the procedure (create, fill, link, evaluate).
- A compound procedure ("double bubble") has parameters,
body, and an environment. The parameters and the body, together, are
called the text.