chickadee » srfi-160 » s16vector-unfold

u8vector-unfold f length seedprocedure
s8vector-unfold f length seedprocedure
u16vector-unfold f length seedprocedure
s16vector-unfold f length seedprocedure
u32vector-unfold f length seedprocedure
s32vector-unfold f length seedprocedure
u64vector-unfold f length seedprocedure
s64vector-unfold f length seedprocedure
f32vector-unfold f length seedprocedure
f64vector-unfold f length seedprocedure
c64vector-unfold f length seedprocedure
c128vector-unfold f length seedprocedure

Creates a vector whose length is length and iterates across each index k between 0 and length - 1, applying f at each iteration to the current index and current state, in that order, to receive two values: the element to put in the kth slot of the new vector and a new state for the next iteration. On the first call to f, the state's value is seed.

SRFI 133