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
Hi Richard;
Just making some notes. When refactoring the merge sort it looks like we can also remove this extension as well.
extension Int { //iterates the closure body a specified number of times func times(closure:(Int)->Void) { for i in 0...self { closure(i) } } }
The text was updated successfully, but these errors were encountered:
After review this I've decided to keep this in the code as is. It's a really neat function that could be utilized in other areas.
Sorry, something went wrong.
Great :)
voidet
No branches or pull requests
Hi Richard;
Just making some notes. When refactoring the merge sort it looks like we can also remove this extension as well.
The text was updated successfully, but these errors were encountered: