-
Notifications
You must be signed in to change notification settings - Fork 4
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
Compatibility for Swift 5.0 + additions with tests #29
Conversation
ap, aperture, apply, empty
Nice work @kuriishu27. @JustinGuedes if you are happy please merge. |
Ramda/Extensions/aperture.swift
Outdated
|
||
*/ | ||
|
||
public class func aperture(_ number: Int, _ value: [Int]) -> [[Int]] { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
tests were inheriting from XCTest instead of XCTestCase
add both, gt, gte, lt, lte and missing cases for append + updated README
} | ||
} | ||
|
||
return newString |
There was a problem hiding this comment.
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.
Added empty and aperture with tests