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

adds zipWithIndex function on Chunk #1859

Merged
merged 4 commits into from
May 5, 2020
Merged

adds zipWithIndex function on Chunk #1859

merged 4 commits into from
May 5, 2020

Conversation

DamienOReilly
Copy link

@DamienOReilly DamienOReilly commented May 2, 2020

Adds zipWithIndex function on Chunk, similar to that of Stream.

e.g.

fs2.Chunk("The", "quick", "brown", "fox").zipWithIndex.toList

res0: List[(String, Int)] = List((The,0), (quick,1), (brown,2), (fox,3))

@kubukoz kubukoz requested a review from LukaJCB May 3, 2020 18:36
@LukaJCB LukaJCB merged commit d12c0cf into typelevel:master May 5, 2020
@DamienOReilly DamienOReilly deleted the chunk-zipwithindex branch May 5, 2020 23:43
@mpilquist mpilquist added this to the 2.4.0 milestone Jun 8, 2020
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

Successfully merging this pull request may close these issues.

4 participants