Henrik, now that I'm reading the descriptions of the functions, this fix looks wrong. So does the example above it, actually:

    collect([1,20,3]) |$value| { $value < 10 }
    # produces [1,3]

    reject([1,20,3]) |$value| { $value >= 10 }
    # produces [1,3]

It looks like the collect example is actually supposed to be "select," and the reject example is correct. Am I misunderstanding something?