2007-05-01から1日間の記事一覧

ユミハリ 3

すでに3巻もでてた。 近くの本屋で売ってるかなー?

○本の住人

ちょっと気になった。 買ってみよ。

問題1.32

僕の解答 こんな感じ。 (define (accumulate combiner null-value term a next b) (if (> a b) null-value (combiner (term a) (accumulate combiner null-value term (next a) next b)))) (define (sum term a next b) (accumulate + 0 term a next b)) (de…

問題1.33

僕の解答 フィルタの説明が少ないよ…。 filtered-accumulateがこんな感じかな? ;(define (filtered-accumulate combiner null-value term a next b filter) ; (define (filtering a) ; (if (filter a) (term a) null-value)) ; (if (> a b) ; null-value ; …