-
Notifications
You must be signed in to change notification settings - Fork 89
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
Suggestion: add list construction using range not including final #13334
Comments
I'm sorry, but why you can't just write $[0..2]? |
@ArmanHayots I was thinking the same thing. Plus, the visual difference between two and three dots isn't all that big, promoting Off-by-one errors.
|
The feature already exists. |
@qiru To my knowledge this feature does not yet exist, @ArmanHayots was merely suggesting an alternate syntax for your proposal. You should reopen this. |
@ssrmm really sorry for misreading. |
@qiru No problem 😄 |
Currently Nemerle not support unpaired brackets. |
That's because I feel this notation unnatural (this is completely subjective, though).
The notations you suggested look very good (quite understandable). |
Please add another way of creating a list which doesn't include final number (like
...
in Ruby)like this:
The text was updated successfully, but these errors were encountered: