chickadee » srfi-132 » vector-merge!

vector-merge! < to from₁ from₂ #!optional start start₁ end₁ start₂ end₂procedure

This procedure writes its result into vector to, beginning at index start, for indices less than end, which is defined as start + (end₁ - start₁) + (end₂ - start₂). The target subvector to[start, end) may not overlap either of the source subvectors from₁[start₁, end₁] and from₂[start₂, end₂]. It returns an unspecified value.

This procedure is equivalent to the SRFI 95 merge! procedure when applied to lists, except that it does not accept a key procedure.