Index Mathematics Conjectures nbv lettuce Widgets

copy_into

stdlib/copy_into.nbv

copy_into(from, mut to, i)

copy the elements of from into to starting at index i of to

Precompiles
len!, loop!
Used by
oraccle/oraccle_squeeze

Source

# copy the elements of `from` into `to` starting
# at index `i` of `to`
(from, mut to, i)

loop! (len! from), j {
  to[i + j] = from[j]
}

to