We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add the following Stack methods
Stack
Swap(int, int)
Less(int, int) bool
The above two methods, once added, will allow the Stack type to qualify for sort.Interface-based sorting procedures.
sort.Interface
Additionally, add SetLessFunc(...func(int, int) bool) for Stack instances to allow user-submission of suitable closures.
SetLessFunc(...func(int, int) bool)
The text was updated successfully, but these errors were encountered:
JesseCoretta
Successfully merging a pull request may close this issue.
Add the following
Stack
methodsSwap(int, int)
Less(int, int) bool
The above two methods, once added, will allow the
Stack
type to qualify forsort.Interface
-based sorting procedures.Additionally, add
SetLessFunc(...func(int, int) bool)
forStack
instances to allow user-submission of suitable closures.The text was updated successfully, but these errors were encountered: