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

std/stream: range should take a function for step #200

Open
DeedleFake opened this issue Apr 7, 2020 · 0 comments
Open

std/stream: range should take a function for step #200

DeedleFake opened this issue Apr 7, 2020 · 0 comments

Comments

@DeedleFake
Copy link
Owner

Currently, range takes a start, end, and step, where the step is a number that is added to the current value to progress from the start to the end. It would be neat if you could give a function that returns the next value from the current, such that, for example, range 0 5 (+ 1) would do the same thing as range 0 5 1.

@DeedleFake DeedleFake self-assigned this Apr 7, 2020
@DeedleFake DeedleFake added this to Todo in Initial Implementation via automation Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant