【SICP练习】122 练习3.53

来源:互联网 发布:网络炒作公司bjiko 编辑:程序博客网 时间:2024/06/05 16:05

练习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)))

分析

s是一串2的幂。也就是1、2、4、8、16、32……

5 0
原创粉丝点击