chickadee » srfi-116 » ifilter-map

ifilter-map f ilist1 ilist2 ...procedure

Like imap, but only true values are saved.

(ifilter-map (lambda (x) (and (number? x) (* x x))) (iq a 1 b 3 c 7))
 ;=> (1 9 49)

The dynamic order in which the various applications of f are made is not specified.