sicp
How does append-to-form work? (SICP's section on Logic Programming)
I am currently working through SICP\'s section on Logic Programming, but I got stuck in the examples regarding logical deductions, especially the append-to-form rules. How do they work? What I don\'t[详细]
2023-01-29 16:05 分类:问答Short explanation of last two chapters of SICP
Can anybody give me a clear and concise explanation of the last 2 chapters of SICP(structure and interpretation of computer programs), ch4 meta-lingu开发者_如何学Pythonistic abstraction and ch5 comput[详细]
2023-01-26 12:50 分类:问答Question about SICP chpt 4.1 : How does (analyze expr) help speed up eval?
I\'m reading the following section of SICP http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-26.html#%_sec_4.1.7[详细]
2023-01-20 01:39 分类:问答Why the bleep isn't my continued fraction approximating properly?
Reading through more SICP and I\'m stuck on exercise 1.3.8. My code works properly for approximating 1/phi, but doesn\'t work for approximating e - 2.[详细]
2023-01-19 01:33 分类:问答Is there an equivalent of Common Lisp's *print-circle* in Scheme?
I\'m working on a deque in Scheme (SI开发者_Go百科CP exercise 3.23) and I\'ve got a simple doubly-linked list implementation I would like to test out, but I can\'t seem to find out how to print out a[详细]
2023-01-18 23:56 分类:问答Why does average damping magically speed up the convergence of fixed-point calculators?
I\'m reading through SICP, and the authors brush over the technique of average damping in computing the fixed points of functions. I understand that it\'s necessary in certain cases, ie square roots i[详细]
2023-01-18 14:22 分类:问答SICP, Scheme, DrRacket Question: Timer/profiler function?
I\'m currently trying to do exercise 1.22, which needs a function called runtime that returns the number of milliseconds the system 开发者_如何学运维has been running. However, my environment (R5RS) do[详细]
2023-01-18 06:09 分类:问答Confused on Miller-Rabin
As an exercise for myself, I\'m implementing the Miller-Rabin test. (Working through SICP). I understand Fermat\'s little theorem and was able to successfully implement that. The part that I\'m gettin[详细]
2023-01-17 00:43 分类:问答SICP Accumulate function
In Structure and Interpretation of Computer Programs (SICP) Section 2.2.3 several functions are defined using:[详细]
2023-01-15 23:10 分类:问答Dr Racket problems with SICP
I\'m working through SICP. Currently, in the first chapter, I\'m having problems getting Racket to let me redefine \"primitives\". For instance, I was under the impression that I should be able to arb[详细]
2023-01-13 20:52 分类:问答
加载中,请稍侯......