go-generics icon indicating copy to clipboard operation
go-generics copied to clipboard

Results 4 go-generics issues
Sort by recently updated
recently updated
newest added

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.

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...