最初のページ 戻る 次へ 最後のページ

map関数の動作

(map f x)の動作を考える

(define (map f x)

(cond ((null? x) nil)

(else (cons (f (car x)) (map f (cdr x)))) ))