Closed KimBruce closed 5 years ago
I'ld be happy to have someone implement this. There need to be tests, or course, especially for the boundary cases of m
being one beyond the end of the list, and being at the end of the list.
Still needs to be written -- I'll take care of it.
This method was added in minigrace commit 4d33d8a
There apparently is no insert operation in lists to squeeze in a new element, moving some elements to the right to make room for the new one. It seems odd to me that we have a remove(n) method, but no insert (val) at (m). Obviously not a huge deal, it just seems a bit asymmetric. (Of course we do have at(m) put (val).)