chickadee » srfi-116 » ipair-fold-right

ipair-fold-right kons knil ilist1 ilist2 ...procedure

Holds the same relationship with {{ifold-right} that {ipair-fold} holds with {ifold}. Obeys the recursion

(ipair-fold-right kons knil lis) ;=> (kons lis (ipair-fold-right kons knil (icdr lis)))
(ipair-fold-right kons knil '()) ;=> knil

Example:

(ipair-fold-right ipair '() (iq a b c)) ;=> ((a b c) (b c) (c))