]> git.rkrishnan.org Git - sicp.git/commitdiff
solution to 3.63. A little tricky to describe
authorRamakrishnan Muthukrishnan <vu3rdd@gmail.com>
Sat, 23 Jul 2011 14:49:31 +0000 (20:19 +0530)
committerRamakrishnan Muthukrishnan <vu3rdd@gmail.com>
Sat, 23 Jul 2011 14:49:31 +0000 (20:19 +0530)
src/sicp/ex3_63.rkt [new file with mode: 0644]

diff --git a/src/sicp/ex3_63.rkt b/src/sicp/ex3_63.rkt
new file mode 100644 (file)
index 0000000..5916bfa
--- /dev/null
@@ -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