Go generics are complex. Currently the only useful documentation (excluding the Go Language Specification) is the original design: golang.org/design/43651-type-parameters.
I propose to fork the design document to create a new document "Go Type Parameters Reference" and publish it in https://go.dev/ref/generics. The new document should be a copy of the original design, with some sections removed , a new section with code not working with go1.18 but that may work in future and a new section with a glossary. Some examples still don't work with go1.18 and should be fixed. Thanks Manlio -- 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/ea5741ad-ec5a-4ace-9c9c-09ca611a0cf9n%40googlegroups.com.