# \[Pitch #2\] Add \`indexed()\` and \`Collection\` conformances for \`enumerated()\` and \`zip(\_:\_:)\`

**URL:** <https://forums.swift.org/t/pitch-2-add-indexed-and-collection-conformances-for-enumerated-and-zip/49604>\
**Category:** Pitches\
**Created:** [June 14, 2021, 7:08pm UTC](https://forums.swift.org/t/pitch-2-add-indexed-and-collection-conformances-for-enumerated-and-zip/49604 "2021-06-14T19:08:41Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![kylemacomber](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/kylemacomber/32/12298_2.png) [@kylemacomber](https://forums.swift.org/u/kylemacomber)\
**Post date:** [June 15, 2021, 7:13pm UTC](https://forums.swift.org/t/pitch-2-add-indexed-and-collection-conformances-for-enumerated-and-zip/49604/4 "2021-06-15T19:13:10Z")

</div>

> [@Jon\_Shier](#):
>
> How does the addition of `indexed()` intersect with users of the Algorithms package? I'd hate to lose that functionality on older OSes just because the standard library added it.

It's not our plan to remove `indexed()` from the Algorithms package!

In general, I think it's fair to assume that the standard library version of functionality will always be as good or better than the package version. Ideally we'll strike upon a general solution that allows you to pick up the stdlib version when it's available, while continuing to use the package version when it isn't.

We'll play around with techniques like the one we pitched [here](https://forums.swift.org/t/pitch-efficient-collection-startindex-throughout-the-standard-library/45317) to find a good fit for these package to stdlib migrations.

---

_[View the full topic](https://forums.swift.org/t/pitch-2-add-indexed-and-collection-conformances-for-enumerated-and-zip/49604)._
