Skip to content

Commit

Permalink
修正一处代码注释错误,感谢 ljf007 的提醒。
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzworks committed Jun 25, 2013
1 parent 5be48a4 commit 9c66040
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chp2/code/31-tree-map-using-map.scm
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
(define (tree-map f tree)
(map (lambda (sub-tree)
(if (pair? sub-tree)
(tree-map f sub-tree) ; 递归处理左右分支
(f sub-tree)))
(tree-map f sub-tree) ; 处理子树
(f sub-tree))) ; 处理节点
tree))

0 comments on commit 9c66040

Please sign in to comment.