chickadee » arrays » set-iterate-while

(set-iterate-while [equ?] ok? fn start)procedure

iterates function fn, starting with start to be compared with equ?, as long as fn's result passes the ok? test, to make a new array. If no equ? is supplied, eqv? is used.