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 std::iter::Step #16

Open
taylor1791 opened this issue Aug 31, 2022 · 1 comment
Open

Implement std::iter::Step #16

taylor1791 opened this issue Aug 31, 2022 · 1 comment
Assignees

Comments

@taylor1791
Copy link

I was surprised to discover that std::iter::Step was not implement on either IBig nor UBig. Implementing Step means that IBig and UBig could be used in Range, allowing:

for i in (ibig!(0)..limit) {
  // elided
}

I may be able to put together a PR if you are interested.

@tczajka tczajka self-assigned this Aug 31, 2022
@tczajka
Copy link
Owner

tczajka commented Sep 17, 2022

The Step API is not stable. This is desired but it will wait for stabilization.

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

2 participants