r/Python • • Oct 13 '14

Python: rich iterator

I could not find a library to fit my needs, so I decided to write one.. (standard story)

Just in case I'm not good at searching: is there a library providing something like what I'm trying to do, so that I don't waste my time?

1 Upvotes

8 comments sorted by

View all comments

2

u/kankyo Oct 13 '14

One minor thing about naming: "next" and "step" are a bit confusing names, I guess they are the same as "take" and "drop" in functional languages? I think those names are better.

1

u/bm371613 Oct 13 '14

Good idea, thanks