[go-nuts] Re: Go 1.22 Release Candidate 1 is released

2023-12-24 Thread John David Lee
This is in the section titled "Why are yield functions limited to at most two arguments?" On Sunday, December 24, 2023 at 5:43:23 PM UTC+1 John David Lee wrote: > Hello. > > In the rangefunc experiment document > <https://go.dev/wiki/RangefuncExperiment> the iter

[go-nuts] Re: Go 1.22 Release Candidate 1 is released

2023-12-24 Thread John David Lee
Hello. In the rangefunc experiment document the iter package is said to export the following: type Seq[V any] func(yield func(V) bool) bool type Seq2[K, V any] func(yield func(K, V) bool) bool But after installing tip, it looks like the iter package e