title: Nested loop in scheme
body: <p>Say I have for example </p>
  
  <pre><code>(define sample '("a" "b" "c"))
  </code></pre>
  
  <p>How would I go about creating a nested loop that will work with sample.</p>
  
  <pre><code> (define (runthis a)
      (cond
      (char? (car a)) ;given that this condition is true I go on to the nested loop
  
      (define (work sample)
      &lt;dosomething&gt;
      (work (cdr sample))))
  
      (else (write " ")
  (runthis(cdr a)))) 
  </code></pre>
  
  <p>is this the correct template for a basic nested loop?</p>