chickadee » srfi-214 » flexvector-swap!

flexvector-swap! fv i jprocedure

Swaps or exchanges the values of the locations in fv at indexes i and j. It is an error if either i or j is outside the range [0, (flexvector-length fv)). Returns fv after mutating it.