Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement delindex!(x, idx) #5118

Closed
kmsquire opened this issue Dec 12, 2013 · 0 comments
Closed

Implement delindex!(x, idx) #5118

kmsquire opened this issue Dec 12, 2013 · 0 comments

Comments

@kmsquire
Copy link
Member

#3023 (and #3405 and related issues) changed/added delete!, pop!, and splice!.

One unimplemented part of the proposal is the ability to delete an index from an array and return the modified array (rather than the deleted item or items).

It was suggested that delete! not be used for this, since it conflicts semantically with set deletion. delindex! was proposed, but never implemented.

One potential caveat mentioned is that this would not interact well with array views, although the same argument could be said of splice! and pop!.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant