chickadee » srfi-158 » gmerge

gmerge less-than gen1 gen2 ...procedure

Returns a generator that yields the items from the given generators in the order dictated by less-than. If the items are equal, the leftmost item is used first. When all of given generators are exhausted, the returned generator is exhausted also.

As a special case, if only one generator is given, it is returned.