-
Notifications
You must be signed in to change notification settings - Fork 114
add Iter::with_numbering(start~: Int)
#1866
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
Comments
I think fn Iter::with_index[A](self : Iter[A]) -> Iter2[Int,A] |
What about |
|
Isn't that just |
Yes, you are right. But you can derive |
use Iter2 we can use use Iter2 can avoid destruct pair, use mapi has to construct pair and destruct pair |
|
Maybe
zip_with_numbering
better?The text was updated successfully, but these errors were encountered: