From abdfddb382e309f93a0f8e57708ab70ddc4c3186 Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan <vu3rdd@gmail.com> Date: Sun, 11 Dec 2011 10:06:44 +0530 Subject: [PATCH] solution to 4.17 --- src/sicp/ex4_17.rkt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/sicp/ex4_17.rkt diff --git a/src/sicp/ex4_17.rkt b/src/sicp/ex4_17.rkt new file mode 100644 index 0000000..cfc14e6 --- /dev/null +++ b/src/sicp/ex4_17.rkt @@ -0,0 +1,13 @@ +#lang racket + +#| + +There will be an extra frame because of the `let' statements. + +The lambdas are evaluated only when called. So, if we put all the definitions on the top +before the statements which actually use them, then we already have 'sumultaneous scope' +implemented. Infact that is the assumption we had while implementing 4.16. The definitions +can contain references to other variables not defined yet, because they will be looked up +only when we call it with a value. + +|# \ No newline at end of file -- 2.45.2