From: Ramakrishnan Muthukrishnan Date: Sun, 11 Dec 2011 04:36:44 +0000 (+0530) Subject: solution to 4.17 X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/bcase/frontends/FTP-and-SFTP.txt?a=commitdiff_plain;h=abdfddb382e309f93a0f8e57708ab70ddc4c3186;p=sicp.git solution to 4.17 --- 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