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 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 exposes a > slightly different interface: > > type Seq[V any] func(yield func(V) bool) > type Seq2[K, V any] func(yield func(K, V) bool) > > Take care, > > David > On Wednesday, December 20, 2023 at 12:43:36 AM UTC+1 anno...@golang.org > wrote: > >> Hello gophers, >> >> We have just released go1.22rc1, a release candidate version of Go 1.22. >> It is cut from release-branch.go1.22 at the revision tagged go1.22rc1. >> >> Please try your production load tests and unit tests with the new version. >> Your help testing these pre-release versions is invaluable. >> >> Report any problems using the issue tracker: >> https://go.dev/issue/new >> >> If you have Go installed already, an easy way to try go1.22rc1 >> is by using the go command: >> $ go install golang.org/dl/go1.22rc1@latest >> $ go1.22rc1 download >> >> You can download binary and source distributions from the usual place: >> https://go.dev/dl/#go1.22rc1 >> >> To find out what has changed in Go 1.22, read the draft release notes: >> https://tip.golang.org/doc/go1.22 >> >> Cheers, >> Than and Carlos for the Go team >> > -- 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/fe33a8dc-fbca-48a0-9320-ef383aec7a9en%40googlegroups.com.