fold

[procedure] fold kons knil clist1 clist2 ...

SRFI-1: The fundamental list iterator.

     (fold kons knil lis) = (fold kons (kons (car lis) knil) (cdr lis))
     (fold kons knil '()) = knil

See also fold-right, pair-fold, reduce.

[generic] fold kons knil coll1 coll2 ...

Gauche extends this to take arbitrary collections (with gauche.collection module).