[plt-scheme] Re: Scheme workshop survey
On 17-Oct-08, at 3:55 PM, Matthias Felleisen wrote:
> Reductionist dying out? You must be kidding Marc; everyone here
> tried that!
All jokes aside, reductionism is quite intuitive and solves some
fundamental "user interface" issues. Gambit uses it when displaying
environments and continuation frames (see example below). It just
doesn't use it to print results at the REPL, mainly because
historically most Scheme textbooks do not use it.
Marc
Gambit v4.2.9
> (define (f g x) (g x y))
> (f (lambda (a b) (+ (car a) (car b))) '(1 2 3))
*** ERROR IN f, (console)@1.22 -- Unbound variable: y
1> ,e
g = (lambda (a b) (+ (car a) (car b)))
x = '(1 2 3)