You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* What is the difference between lists and streams? What is happening in both construction and selection time for both lists and streams?
190
-
* Why should cons-stream and delaybe special forms of languages? Should `force` be such a procedure?
190
+
* Why do `cons-stream` and `delay` have to be special forms in Scheme? Should `force` be such a form?
191
191
* Why should all list-manipulating procedures be rewritten for streams? What actually should be changed?
192
192
* What's the difference between methods call-by-name and call-by-need?
193
193
* Explain the behavior of the programs from exercises 3.51 and 3.52 (you don't need to complete exercises if you can fully explain the behavior).
194
194
* Why can streams be infinite? Can we make our program stuck when working with infinite streams?
195
195
* What's the order of growth of the computing of fibonacci numbers from stream declared implicitly using both call-by-name and call-by-need strategies?
196
196
* What's the order of growth of the stream of all positive integers with no prime factors other than 2, 3, or 5 declared implicitly?
197
197
* What's the technique called "sequence accelerator"?
198
-
* How can we can accelerate the accelerated sequence?
198
+
* How can we can accelerate an accelerated sequence?
199
199
* How can we merge infinite sequences? Why simple appending doesn't fit here?
200
200
* How does delayed evaluation help to create circular dependencies?
201
201
* What should be changed in the language, so it becomes normal-order evaluated? What are the pros and cons of this approach?
202
202
* Why don't mutability and delayed evaluation mix well in programming languages?
203
-
* How can we refactor stateful procedure to make it stateless with the streams?
203
+
* How can we refactor a stateful procedure to make it stateless with streams?
204
204
* Why simple merging of two streams is not a solution for merging bank accounts?
205
205
* What's the difference between thunks and JS Promises? *This question is answered by frontend developers.*
206
206
* Is there a difference between thunks described in this chapter and Haskell thunks? *This question is answered by backend developers.*
0 commit comments