rust-itertools / itertools

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

Add `fn zip_longest` #962

Open TheLostLambda opened 4 months ago

TheLostLambda commented 4 months 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 4 months ago

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