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

Negative array indexes #681

Closed
danielribeiro opened this issue Sep 13, 2010 · 3 comments
Closed

Negative array indexes #681

danielribeiro opened this issue Sep 13, 2010 · 3 comments

Comments

@danielribeiro
Copy link

It would be very nice to have negative indices on arrays, and mostly on ranges. For instance, x[5..-1] would be compiled to x.slice(5).

@michaelficarra
Copy link
Collaborator

x[5..] See #621

@danielribeiro
Copy link
Author

Thanks. I did search for this, but it seems the only useful way of searching github is to use google :-(

@michaelficarra
Copy link
Collaborator

Yeah, Github's issue searching system is pretty bad. I pretty much just manually go through them. I didn't remember that I actually started that issue I linked you to. It would have made it easier to search for.

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

No branches or pull requests

2 participants