たとえば私が持っていると言う
(define sample '("a" "b" "c"))
サンプルで機能するネストされたループを作成するにはどうすればよいですか。
(define (runthis a)
(cond
(char? (car a)) ;given that this condition is true I go on to the nested loop
(define (work sample)
<dosomething>
(work (cdr sample))))
(else (write " ")
(runthis(cdr a))))
これは基本的なネストされたループの正しいテンプレートですか?