[racket-dev] OT: stump misunderstands Scheme?

From: Eli Barzilay (eli at barzilay.org)
Date: Tue Nov 16 17:29:20 EST 2010

Three minutes ago, Sam Tobin-Hochstadt wrote:
> On Tue, Nov 16, 2010 at 5:22 PM, Shriram Krishnamurthi <sk at cs.brown.edu> wrote:
> > ('(lambda (x) x) 3)
> >
> > and it would evaluate to 3 because of the way the interpreter was
> > structured.
> >
> > Now if Aaron ran one of those to test his code...
> I'm pretty sure that this is also how the original Lisp interpreter
> from McCarthy's paper worked.

(And in elisp too, btw: (funcall '(lambda (x) x) 3).)

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the dev mailing list.