Re: [go-nuts] Go2 Playground and constraints package

2021-11-16 Thread Johann Höchtl
Thanks for pointing me to the tip-playground. And I like all being discussed in https://github.com/golang/go/issues/48424 Am Di., 16. Nov. 2021 um 08:57 Uhr schrieb Axel Wagner < axel.wagner...@googlemail.com>: > The go2go playground is basically obsolete, as it is based on the > prototype implem

Re: [go-nuts] Go2 Playground and constraints package

2021-11-15 Thread 'Axel Wagner' via golang-nuts
The go2go playground is basically obsolete, as it is based on the prototype implementation, instead of gotip. You can use https://gotipplay.golang.org/ which provides a playground based on gotip. Though the example does not work there either, as `constraints.Chan` has been removed after https://git

[go-nuts] Go2 Playground and constraints package

2021-11-15 Thread Johann Höchtl
The example from https://github.com/mattn/go-generics-example/blob/main/constraints-chan/main.go does not work with the Go2 Playground https://go2goplay.golang.org/p/Is-IieENirk as the constraints package is not available. I didn't find any mention on that on the Internets, is this a known limita