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/014d606e-3f5c-44fa-8c92-b6ef41b21941n%40googlegroups.com.