Re: [go-nuts] iterator method naming conventions

2024-08-22 Thread Ian Lance Taylor
On Thu, Aug 22, 2024 at 9:30 AM Adam Baratz wrote: > > I've been reading the iter pkg docs and I'm trying to understand a > distinction drawn there. > > It says that the iterator method on a collection type is conventionally named > All (and returns a Seq). However, the maps and slices packages

[go-nuts] iterator method naming conventions

2024-08-22 Thread Adam Baratz
Hi, I've been reading the iter pkg docs and I'm trying to understand a distinction drawn there. It says that the iterator method on a collection type is conventionally named All (and returns a Seq). However, the maps and slices packages handle this a little differently. They have All funcs tha