chickadee » srfi-116 » ilist-tabulate

ilist-tabulate n init-procprocedure

Returns an n-element ilist. Element i of the ilist, where 0 <= i < n, is produced by (init-proc i). No guarantee is made about the dynamic order in which init-proc is applied to these indices.

(ilist-tabulate 4 values) ;=> (0 1 2 3)