内容 2.2 Hierarchical Data and the Closure Property · 109
练习 自检推理
Exercise 2.31: Abstract your answer to
Exercise 2.30 to produce a procedure tree-map with the property
that square-tree could be defined as
(define (square-tree tree)
(tree-map square tree))
练习 2.31:将你在练习 2.30 中的答案抽象,产生一个具有如下性质的过程 tree-map:使得 square-tree 可以被定义为
(define (square-tree tree)
(tree-map square tree))
SICP source code scheme
(define (square-tree tree)
(tree-map square tree)) 我的笔记 自动保存