灯下 登录
计算机科学 / SICP / 3.5.2 Infinite Streams

Exercise 3.53 · 习题

Exercise 3.53: Without running the program,
describe the elements of the stream defined by

(define s (cons-stream 1 (add-streams s s)))

练习 3.53:不运行程序,描述以下定义所定义的流的各元素:

(define s (cons-stream 1 (add-streams s s)))

Racket #lang sicp
(define s (cons-stream 1 (add-streams s s)))