3 ms·
I use this lib for this exact reason! Great suggestion. I wish the standard library had more functional functions like this. head/tail/take etc
by whalesalad 5y ago
I use this lib for this exact reason! Great suggestion. I wish the standard library had more functional functions like this. head/tail/take etc
- masklinn 5y agoIt… does? They’re called next, islice, and islice. more_itertools is nice but none of those 3 is a compelling argument for it.