immutable icon indicating copy to clipboard operation
immutable copied to clipboard

Feature Request: Delete List element

Open guenhter opened this issue 3 years ago • 2 comments

Currently there is no easy way to delete an element from a list. Only recreating the list can be done what is very annoying.

Something like this would be very helpful:

l = l.Delete(1) // Deletes the element at index 1

guenhter avatar May 07 '21 10:05 guenhter

The way List is structured, there's not really a great way to optimize for deletions other than rebuilding.

benbjohnson avatar May 07 '21 17:05 benbjohnson

Even though internally it is not great to optimize it would be very convenient to provide this so that the users don't have to do the rebuilding on their own.

guenhter avatar May 07 '21 17:05 guenhter