Say I have for example
(define sample '("a" "b" "c"))
How would I go about creating a nested loop that will work with sample.
(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))))
is this the correct template for a basic nested loop?