-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There were some compromises at the end * was forced to use a protocol to simulate what you get for free in ruby with dynamic type * was forced to add extension to string to get compiler to shut up and to complete “to_s” refactor * wasn’t able to complete the refactor to have successor return BottleNumber instead of Int because swift can’t return an object OR an unrelated primitive and to put it in a protocol would have been more steps, and to put it in a struct and make it conform to interator protocol seems like overkill
- Loading branch information
Showing
2 changed files
with
71 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.