Chat (Lingr.com)
Informaiton
Daily
Column
- MySQL日本語の旅(5/1)
- アクセス向上秘伝(5/9)
- 一風変ったHaskellλ門(6/13)
- SICP Answer Book (5/31) 問題3.26追加
Zope Solution
Extra
アーカイブ
OSS案内所
Site Info
関連リンク
##(link2sicp "book-Z-H-12.html#%_thm_1.43" "Exercise 1.43")
解答例
(define (repeated f n)
(if (= n 0)
identity
(compose f (repeated f (- n 1)))))
実行例
gosh> ((repeated square 2) 5) 625
コード
##(sicp-answer-code "ex-1.43.scm")