chickadee » yasos » g-map

g-map proc generator ...procedure

Returns a generator of proc applied to the next values of the generators. It ends as soon as any of them ends.

> (generator->list (g-map + (list->generator '(1 2 3)) (list->generator '(10 20))))
(11 22)