Skip to content

Adding main() to Swift sorting algorithms #233

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

Merged
merged 1 commit into from
Jul 9, 2018
Merged

Adding main() to Swift sorting algorithms #233

merged 1 commit into from
Jul 9, 2018

Conversation

Wesley-Arrington
Copy link
Contributor

@Wesley-Arrington Wesley-Arrington commented Jul 8, 2018

My current understanding is that code in the AAA is supposed to have a main() function to run the algorithm. So I updated the swift sorting algorithms to reflect this.

  • Changed bubble_sort.md so main() is now shown
  • Added main() to bogo sort

- Changed bubble_sort.md so for swift it would show main()

- Added main() to bogo sort
@Gathros Gathros added the Implementation Edit This provides an edit to an algorithm implementation. (Code and maybe md files are edited.) label Jul 8, 2018
Copy link
Member

@jiegillet jiegillet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good change, thanks :)

@jiegillet jiegillet merged commit b4429b9 into algorithm-archivists:master Jul 9, 2018
@Wesley-Arrington Wesley-Arrington deleted the addingMainForSwiftSorting branch July 9, 2018 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Implementation Edit This provides an edit to an algorithm implementation. (Code and maybe md files are edited.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants