chickadee » srfi-214 » flexvector-add-front!

flexvector-add-front! fv x ...procedure

Inserts the elements x ... into the front or back of fv, preserving their order. This increases the length of fv by the number of elements inserted. flexvector-add-back! of one element has the same computational complexity as vector-set!, amortized. In most Schemes, this will be amortized O(1). These procedures return fv after mutating it.