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

append関数の動作

(append x z)の動作を考える

(define (append x z)

(cond ((null? x) z)

(else (cons (car x) (append (cdr x) z))) ))