Skip to content

Compatibility for Swift 5.0 + additions with tests #29

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 51 commits into from
Apr 7, 2020

Conversation

leovido
Copy link
Collaborator

@leovido leovido commented Sep 27, 2019

Added empty and aperture with tests

@leovido leovido changed the title Compatibility for Swift 5.0 and two functions Compatibility for Swift 5.0 + additions with tests Sep 27, 2019
TYRONEMICHAEL
TYRONEMICHAEL previously approved these changes Sep 28, 2019
@TYRONEMICHAEL
Copy link
Member

TYRONEMICHAEL commented Sep 28, 2019

Nice work @kuriishu27. @JustinGuedes if you are happy please merge.


*/

public class func aperture(_ number: Int, _ value: [Int]) -> [[Int]] {
Copy link
Member

Choose a reason for hiding this comment

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

I added aperture in the other PR which has not been merged in yet. Added you as a reviewer. So there will be conflicts. We can get mine in, and then I can resolve conflicts on your branch.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I noticed you added aperture as well after I pushed my changes. Thanks for adding me as a reviewer. I agree yours looks cleaner.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I removed my aperture implementation and accepted your pull request with the other additions

}
}

return newString
Copy link
Member

Choose a reason for hiding this comment

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

Look at all the other methods we have implemented. If it takes more than one input it has to be curried as well.

@TYRONEMICHAEL TYRONEMICHAEL merged commit fb61c75 into FunctioningFunctionalist:master Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants