chickadee » list-comprehensions » iterate-until

iterate-until fn ok?procedure
iterate-until fn ok? startprocedure

produces a list where the items are constructed by successively applying fn to the last value, starting with start, until the value passes the ok? test.