Question confused by examples 

Forum: Com Sci 12500, U Chicago, Autumn 2002, Discuss Classwork, old
Re: News Assignment #6, due Friday 1 November (Mike O'Donnell)
Date: 2002, Oct 30
From: Katie Edmonds <katie@uchicago.edu>

In the assignment, there are examples that are supposed to show that eval_lambda_expr is wrong, including:
(eval_lambda_expr '(lambda (x) (lambda (y) x)) '((x 0)))
;Value 5: (lambda (x) (lambda (y) x))
I was trying to figure out what that should return instead, but it looks to me like that is exactly what it's supposed to return, since x is defined as 0 only outside the scope of the lambda expression. What's going on?


Messages

1. Agree You're right, I gave the wrong example by Mike O'Donnell, 2002, Oct 30

to: "confused by examples"