Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sort: sort package should provide implementations for all basic types #8905

Open
balshetzer opened this issue Oct 7, 2014 · 3 comments
Open

sort: sort package should provide implementations for all basic types #8905

balshetzer opened this issue Oct 7, 2014 · 3 comments
Labels
Milestone

Comments

@balshetzer
Copy link

@balshetzer balshetzer commented Oct 7, 2014

the sort package provides sorting for int, string and float64. It should also provide
the same boilerplate for int32, int64, uint32, uint64, etc. Otherwise, every project
ends up with the same repeated boilerplate.
@ianlancetaylor
Copy link
Contributor

@ianlancetaylor ianlancetaylor commented Oct 7, 2014

Comment 1:

Where does it end, though?  What about "type I int"?

Labels changed: added repo-main, release-none.

@balshetzer
Copy link
Author

@balshetzer balshetzer commented Oct 7, 2014

Comment 2:

the sort package can only define types and functions for the types it knows about. so
that's where it ends.
@cristaloleg
Copy link

@cristaloleg cristaloleg commented Jun 17, 2020

Probably case for generics #15292

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.