viralogic / py-enumerable

A Python module used for interacting with collections of objects using LINQ syntax
MIT License
187 stars 24 forks source link

Consider adding some List extension equivalents #70

Closed mzhukovs closed 2 years ago

mzhukovs commented 3 years ago

While not technically in LINQ/on the Enumerable class in C#, this is Python so think these would be useful and fair game. For your consideration please (may try to contribute PR this weekend if time permits):

From List extension methods: index_of last_index_of

And a potentially controversial but convenient one: for_each

Please let me know your thoughts @viralogic

viralogic commented 2 years ago

@mzhukovs Since we are currently working on a PR for this, I am going to close this issue.