chickadee » pseudolists » pl-collect

(pl-collect item-xpr (var pl ok-xpr ...) ....)syntax

creates a new list by binding var to each element of the pseudolist pl in sequence, and if it passes the checks, ok-xpr ..., inserts the value of item-xpr into the resulting list. The qualifieres, (var pl ok-xpr ...), are processed sequentially from left to right, so that filters of a qualifier have access to the variables of qualifiers to its left. The sentinel of the result is that of the first pseudolist argument.