chickadee » generalized-arrays » array-tabulate!

array-tabulate! proc arrayprocedure

Iterates over the indexes of array in lexicographical order starting at the index start and ending at the index end (start inclusive, end exclusive), and calling proc on each index. Whatever proc returns becomes the value of the array at the index.