go-generics
go-generics copied to clipboard
It will be good to support an API like `MapNonNil` which will return an empty slices instead of `nil`. The `nil` slice may be unexpected in some scenarios like json...
This PR implements the range-iterator proposal at https://github.com/golang/go/issues/61405.
Bobg/v4b
This PR revamps the go-generics API for Go 1.23, which notably adds the "range over func" language feature and the `iter.Seq` and `iter.Seq2` types, plus some associated functions in the...