chickadee » srfi-116 » ipair-for-each

ipair-for-each f ilist1 ilist2 ...procedure

Like ifor-each, but f is applied to successive sub-ilists of the argument ilists. That is, f is applied to the cells of the ilists, rather than the ilists' elements. These applications occur in left-to-right order.

(ipair-for-each (lambda (ipair) (display ipair) (newline)) (iq a b c))
 ;=> (a b c)
 ;=> (b c)
 ;=> (c)