The go-set package provides generic Set implementations for Go, including HashSet for types with a Hash() function and TreeSet for orderable data
Mozilla Public License 2.0
118
stars
8
forks
source link
Deprecate set.Compare? #88
Closed
costela closed 2 months ago
The stdlib's cmp.Compare (introduced in 1.21) supports a strictly larger set (no pun intended) of types for the same functionality.
AFAICT that means
set.Compare
can be deprecated and maybe removed with an eventual v3?