chickadee » srfi-121 » generator-any

generator-any pred genprocedure

Applies pred to each item from gen. As soon as it yields a true value, the value is returned without consuming the rest of gen. If gen is exhausted, returns #f.