You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's unclear whether SortMaps and SortSlices should take a less function (i.e., func(T, T) bool) or a compare function (i.e., func(T, T) int) to match the current slices.SortFunc signature.
The text was updated successfully, but these errors were encountered:
@dsnet
v2 is roughly accepts backwards incompatible change.
So would be happy if rename cmp package name to something (e.g., gocmp, or gcmp means Google Compare library...?) for conflicts stdlib cmp package.
Overall, this package has held up well.
If we were to ever consider a v2, here are some changes:
It's unclear whether
SortMaps
andSortSlices
should take a less function (i.e.,func(T, T) bool
) or a compare function (i.e.,func(T, T) int
) to match the currentslices.SortFunc
signature.The text was updated successfully, but these errors were encountered: