Hi all,
The type parameters design contemplates a variety of additions to the
standard library, some more speculative than others.
So far, two Go 1.18 proposals have been put forth:
* proposal: constraints: new package to define standard type parameter
constraints (
https://github.com/golang/go/issues/45458)
* proposal: slices: new package to provide generic slice functions
(
https://github.com/golang/go/issues/45955)
The design mentions other ideas including:
* maps
* sets
* additions to sort
* chans
* more containers (ordered maps, etc)
Are the folks working on the type parameter implementation planning on
proposing any of these for Go 1.18, or is the idea that the initial
release of generics will add only constraints and slices?
Thanks,
Caleb