rust-itertools / itertools

Extra iterator adaptors, iterator methods, free functions, and macros.
https://docs.rs/itertools/
Apache License 2.0
2.62k stars 298 forks source link

Add `fn zip_longest` #962

Open TheLostLambda opened 3 days ago

TheLostLambda commented 3 days ago

There is a function version of zip_eq already, but it appears that zip_longest is still only available as a method?

Let me know if you think this is a worthwhile addition for completeness's sake, and I'll submit a PR!

Philippe-Cholet commented 3 days ago

I don't think we stand against adding new free functions, but we sure don't intend to be complete on that side.