savi-lang / savi

A fast language for programmers who are passionate about their craft.
BSD 3-Clause "New" or "Revised" License
156 stars 12 forks source link

Add `Array.delete_at!` and `Array.remove_at!`. #414

Closed jemc closed 1 year ago

jemc commented 1 year ago

Array.delete_at! will discard the element at the given index, while Array.remove_at! will return the (non-aliased) element.