hi
how do they do variable length arguments in the old days? (using only
lambda)
I don't think it's possible in the really old days, they probably just
used a single list...
;; this seems to be the new syntax with the dot
(define sum (lambda (x . y) (apply + x y)))
(sum 1 2 3 4 5)
my toy interpreter can't handle this after I've been tweaking it for
one day. I'm sorta giving up.
new interpreters can do this weird thing:
((lambda x (cons x 'b)) 'a) , which is different from
((lambda (x) (cons x 'b)) 'a)
strange...