altos/scheme: Make for-each tail recursive
authorKeith Packard <keithp@keithp.com>
Wed, 3 Jan 2018 22:58:57 +0000 (14:58 -0800)
committerKeith Packard <keithp@keithp.com>
Wed, 3 Jan 2018 22:58:57 +0000 (14:58 -0800)
commit637795fcf8ca52af431acec183cc961dae121e57
tree90bcf7126763362ec503f2232c0d13dfc099bb42
parent7bfc1eda398e8767e352cd6396ac61c7ea021079
altos/scheme: Make for-each tail recursive

Provides a native version of for-each that is tail recursive, rather
than having it just use map and discard the return value.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/scheme/ao_scheme_const.scheme