On Fri, 2024-08-16 at 07:34 +0000, Costanza, Pascal wrote: > I haven’t double-checked, but according to the documentation of the > standard library, this should be possible: You can get an iterator > over a map from the maps package, and then convert it into a pull- > style iterator using the iter package.
I think you are right. I will look into this. One thing that I'm wondering about is where it says " It must be called when the caller is no longer interested in next values and next has not yet signaled that the sequence is over (with a false boolean return)." This suggests to me that we'll be leaking something if that doesn't happen. This would be problematic. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/2d31911309a2838e0be5f4ad2f296949f8d2c3e6.camel%40kortschak.io.