x/exp/maps.Keys() returned a slice, while stdlib maps.Keys() returns an
iterator. Can't just switch between them transparently in almost all cases.
Sebastian was simply saying that slices.Collect() could be used as a
stop-gap solution for moving from x/exp/maps to stdlib maps, since every
curren
Both maps.Keys and maps.Values exist in the standard
library, https://pkg.go.dev/maps#Keys
Perhaps I'm missing some nuance about the difference between x/exp/maps and
the standard library implementation?
On Tuesday, December 24, 2024 at 2:31:04 AM UTC-5 Sebastien Binet wrote:
> Hi,
>
> If you