Brian Harvey <bh@abbenay.cs.berkeley.edu> wrote:
+---------------
| If one were going to pick a second feature to put next to first-class
| procedures, the one chosen by the RnRS authors is lexical scope:
| Scheme is a statically scoped and properly tail-recursive
| dialect of the Lisp programming language... [p. 1]
+---------------
And the third -- also from the RnRS authors, as you note -- is proper
tail-call optimization ("safe-for-space"). This permits an *extremely*
natural representation of a large class of "state machine" problems,
not to mention obtaining guaranteed iterative behavior from lexically
recursive texts.
-Rob
-----
Rob Warnock, 30-3-510 <rpw3@sgi.com>
SGI Network Engineering <http://reality.sgi.com/rpw3/>
1600 Amphitheatre Pkwy. Phone: 650-933-1673
Mountain View, CA 94043 PP-ASEL-IA