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
Labels
NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone

Comments

@balshetzer
Copy link

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

Comment 1:

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

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

@balshetzer
Copy link
Author

Comment 2:

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

@bradfitz bradfitz removed the new label Dec 18, 2014
@rsc rsc added this to the Unplanned milestone Apr 10, 2015
@ALTree ALTree added the NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made. label May 13, 2019
@cristaloleg
Copy link

cristaloleg commented Jun 17, 2020

Probably a case for generics #15292

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsDecision Feedback is required from experts, contributors, and/or the community before a change can be made.
Projects
None yet
Development

No branches or pull requests

6 participants