-
Notifications
You must be signed in to change notification settings - Fork 125
feat(deque): add shuffle_in_place and shuffle method #2398
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
base: main
Are you sure you want to change the base?
feat(deque): add shuffle_in_place and shuffle method #2398
Conversation
modified: deque/deque.mbti
Pull Request Test Coverage Report for Build 261Details
💛 - Coveralls |
Inconsistent naming convention between method and function callCategory pub fn[A] shuffle(self : T[A], rand~ : (Int) -> Int) -> T[A] { Unnecessary copy operation for shuffle methodCategory Missing validation for rand function behaviorCategory |
Ask me about this PR and the above questions |
PR Description
Summary
This pr adds the shuffle method, but does not write a test