From: Ramakrishnan Muthukrishnan Date: Sat, 23 Jul 2011 14:49:31 +0000 (+0530) Subject: solution to 3.63. A little tricky to describe X-Git-Url: https://git.rkrishnan.org/pf/content/en/footer/module-simplejson._speedups.html?a=commitdiff_plain;h=258e106b52a032afd2464f41ac92e5d20487d7f8;p=sicp.git solution to 3.63. A little tricky to describe --- diff --git a/src/sicp/ex3_63.rkt b/src/sicp/ex3_63.rkt new file mode 100644 index 0000000..5916bfa --- /dev/null +++ b/src/sicp/ex3_63.rkt @@ -0,0 +1,9 @@ +#lang racket + +#| + +memo-proc cannot handle recursive definitions. With the way it is defined in the question, +we have a recursive 'call' to sqrt-stream and hence produced another entirely different +stream whereas in the original definition, 'guesses' gets forced. + +|# \ No newline at end of file