Ik: iter kit for effective iter.Seq

I’ve released a small set of functions which may help you use iter.Seq more effectively with the release of Go 1.23. Check it out and let me know what you’d like to see added!

2 Likes

This is pretty neat and shows that range-over-func was a good idea after all. :smile:

1 Like

Glad you found it neat!

I think range-over func has some design flaws, mainly I’m not convinced that Push iterators are better than Pull iterators as Pull style seems to match what’s actually going on at a lower level more closely (the data structure is required by the for loop, not the for loop by the data structure). I’m curious to see how widespread their usage is :slight_smile: