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

Range with step (3-arguments version) #759

Open
emil14 opened this issue Nov 10, 2024 · 0 comments
Open

Range with step (3-arguments version) #759

emil14 opened this issue Nov 10, 2024 · 0 comments

Comments

@emil14
Copy link
Collaborator

emil14 commented Nov 10, 2024

Basically second ternary operator (but let's not call it like that) - another form of range but this time with 3 arguments instead of 2: from, to and step

100..5..-1 -> ...

Obviously this is an extension to 2 arguments version, not a replacement. Could be implemented in a way, where step is connected to 1 const by default

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

1 participant